[{"type":"call","func":"cam.start","args":[{"type":"assign","operator":"=","left":{"type":"var","value":"entity"},"right":{"type":"str","value":"@s"}}],"after":"execute as $(entity) run function cam:start\r"},{"type":"call","func":"cam.stop","args":[{"type":"assign","operator":"=","left":{"type":"var","value":"entity"},"right":{"type":"str","value":"@s"}}],"after":"execute as $(entity) run function cam:stop\r"},{"type":"call","func":"cam.pos1","args":[{"type":"assign","operator":"=","left":{"type":"var","value":"location"},"right":{"type":"str","value":"~ ~ ~"}},{"type":"assign","operator":"=","left":{"type":"var","value":"rotation"},"right":{"type":"str","value":"~ ~"}}],"after":"execute positioned $(location) rotated $(rotation) run function cam:pos1\r"},{"type":"call","func":"cam.pos2","args":[{"type":"assign","operator":"=","left":{"type":"var","value":"location"},"right":{"type":"str","value":"~ ~ ~"}},{"type":"assign","operator":"=","left":{"type":"var","value":"rotation"},"right":{"type":"str","value":"~ ~"}}],"after":"execute positioned $(location) rotated $(rotation) run function cam:pos2\r"},{"type":"call","func":"cam.time","args":[{"type":"assign","operator":"=","left":{"type":"var","value":"length"},"right":{"type":"num","value":10}},{"type":"assign","operator":"=","left":{"type":"var","value":"entity"},"right":{"type":"str","value":"@s"}}],"after":"scoreboard players set $(entity) camTime $(length)\r"},{"type":"call","func":"cam.noParticles","args":[{"type":"assign","operator":"=","left":{"type":"var","value":"entity"},"right":{"type":"str","value":"@s"}}],"after":"tag $(entity) add camNoParticles\r"},{"type":"call","func":"cam.noText","args":[{"type":"assign","operator":"=","left":{"type":"var","value":"entity"},"right":{"type":"str","value":"@s"}}],"after":"tag $(entity) add camNoText\r"}]
