🎞️Cinematic
Nodes
The cinematic is saved using nodes. Each node represents an action which happens during a tick.
Nodes types
CAMERA
The CAMERA node is a special node which specifies where the camera must move at a specific tick index.
timelineRows:
'0': # Row
'0': # Tick index
type: CAMERA
pos:
x: 14.556940967600697
y: 67.37247408373739
z: 85.71817786641455
rot:
x: 46.349937438964844
y: -22.502201080322266
mode: C
interpolation: SMOOTH
interpolationFrequency: 15.0
instantTeleport: false
fade:
inTime: 20
stayTime: 20
outTime: 20Mode:
A: Normal teleport (stuttering)
B: Spectator (smooth, but rotation is not)
C: Alternative mode (very smooth)
Interpolation:
LINEAR: Moves between two nodes in a straight line.
SMOOTH: Moves between two nodes in a smooth curve.
Fade:
Use these settings to make some fading effect between camera teleportation (black screen). Requires resourcepack to be installed, refer to the installation guide.
ACTOR_RECORDING
This node makes a particular actor recording start playing at a specific tick index.
timelineRows:
'1': # Row
'34': # Tick index
type: ACTOR_RECORDING
recordingName: your_actor_recording_nameCOMMAND
This node makes a particular command execute at a specific tick index.
timelineRows:
'2': # Row
'35': # Tick index
type: COMMAND
command: tell %player% hello!
console: truePARTICLE
This node makes a particular particle play at a specific tick index.
timelineRows:
'2': # Row
'36': # Tick index
type: PARTICLE
pos:
x: 14.556940967600697
y: 67.37247408373739
z: 85.71817786641455
particle: CRIT
delta:
x: 0
y: 0
z: 0
speed: 0
count: 3SOUND
This node makes a particular sound play at a specific tick index.
timelineRows:
'2': # Row
'37': # Tick index
type: SOUND
pos:
x: 14.556940967600697
y: 67.37247408373739
z: 85.71817786641455
key: "minecraft:ambient.cave"
volume: 1.0
pitch: 1.0
channel: MASTERActor recordings
You can record yourself or multiple players and make them move during the cinematic. You can later then edit the file manually to add more actions or fix mistakes.
NOTE
Multiple actions can happen in the same tick, this is why you have the - character in front of the properties start.
Because you can add more than one action, for example:
actions:
'25':
- pos:
x: 15.807292812179728
y: 66.0
z: 85.44283539600306
yaw: -67.79483
pitch: 14.099941
actionType: MOVE
- pos:
x: 15.807292812179728
y: 66.0
z: 85.44283539600306
yaw: -67.79483
pitch: 14.099941
actionType: BLOCK_BREAKBLOCK_BREAK
Breaks a block at a particular tick index.
actions:
'30': # Tick index
- pos: # The action
x: 12.0
y: 65.0
z: 66.0
pitch: 0.0
yaw: 0.0
actionType: BLOCK_BREAKBLOCK_PLACE
Places a block at a particular tick index.
actions:
'30': # Tick index
- pos: # The action
x: 12.0
y: 65.0
z: 66.0
pitch: 0.0
yaw: 0.0
actionType: BLOCK_PLACE
data: minecraft:magma_block
BLOCK_OPEN_CLOSE
actions:
'30': # Tick index
- pos: # The action
x: 12.0
y: 65.0
z: 66.0
actionType: BLOCK_OPEN_CLOSECONTAINER_OPEN_CLOSE
actions:
'30': # Tick index
- pos: # The action
x: 12.0
y: 65.0
z: 66.0
actionType: CONTAINER_OPEN_CLOSEFIRE_TRICKS
actions:
'30': # Tick index
- fireTicks: 12 # The action
actionType: FIRE_TRICKSHURT
actions:
'30': # Tick index
- cause: PROJECTILE # The action
actionType: HURTMOVE
actions:
'30': # Tick index
- pos: # The action
x: 11.485591032872648
y: 65.0
z: 72.64486775419462
pitch: 19.349936
yaw: 167.40527
actionType: MOVEPLAYER_ANIMATION_PACKET
actions:
'30':
- type: SWING_MAIN_HAND
actionType: PLAYER_ANIMATION_PACKETPOSE
actions:
'30': # Tick index
- pose: SNEAKING # The action
actionType: POSEPROJECTILE_LAUNCH
actions:
'30':
- pos: # The action
x: 11.485591032872648
y: 65.0
z: 72.64486775419462
pitch: 19.349936
yaw: 167.40527
type: ARROW
velocity:
x: 1.3
y: 0
z: 0.2
actionType: PROJECTILE_LAUNCHSET_DATA_FLAG
actions:
'30': # Tick index
- flag: FOX_SITTING # The action
value: true
actionType: SET_DATA_FLAGDEAD
actions:
'30': # Tick index
- value: true
actionType: DEADUSING_ITEM
actions:
'30': # Tick index
- value: true
item: "{Count:1b,id:\"minecraft:diamond_sword\"}"
actionType: USING_ITEMOr you can just specify the material.
actions:
'30': # Tick index
- value: true
item: DIAMOND_SWORD
actionType: USING_ITEMLast updated