Cutscenes - SamvanBerkel115/rpgSurvival GitHub Wiki
A cutscene is a short video used to showcase or introduce an event or activity on the server. The player acts as their own 'camera' for the cutscene, so whenever a cutscene is played for a server their movement is simply disabled and they are teleported along a path. A path consists of an ordered list of frames.
Frame
Each frame has an x, y, and z coordinate which represent the location in the world in which the frame takes place. To store the direction in which the frame is shot we also store a yaw and pitch. Finally, a frame has a tick property, which shows the length of the frame in in-game ticks. Each Minecraft tick takes 1/20th of a second, so if a frame takes half a second its tick property will be set to 10.