🎞️Cinematic

Nodes

The cinematic is saved using nodes. Each node represents an action which happens during a tick.

Nodes types

CAMERA

NOTE: row 0 is reserved to camera nodes.

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: 20

Mode:

  • 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_name

COMMAND

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: true

PARTICLE

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: 3

SOUND

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: MASTER

Actor 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_BREAK

BLOCK_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_BREAK

BLOCK_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_CLOSE

CONTAINER_OPEN_CLOSE

actions:
  '30': # Tick index
  - pos: # The action
      x: 12.0
      y: 65.0
      z: 66.0
    actionType: CONTAINER_OPEN_CLOSE

FIRE_TRICKS

actions:
  '30': # Tick index
  - fireTicks: 12 # The action
    actionType: FIRE_TRICKS

HURT

actions:
  '30': # Tick index
  - cause: PROJECTILE # The action
    actionType: HURT

MOVE

actions:
  '30': # Tick index
  - pos: # The action
      x: 11.485591032872648
      y: 65.0
      z: 72.64486775419462
      pitch: 19.349936
      yaw: 167.40527
    actionType: MOVE

PLAYER_ANIMATION_PACKET

actions:
  '30':
  - type: SWING_MAIN_HAND
    actionType: PLAYER_ANIMATION_PACKET

POSE

actions:
  '30': # Tick index
  - pose: SNEAKING # The action
    actionType: POSE

PROJECTILE_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_LAUNCH

SET_DATA_FLAG

actions:
  '30': # Tick index
  - flag: FOX_SITTING # The action
    value: true
    actionType: SET_DATA_FLAG
Flags
BAT_RESTING,

VEX_IS_CHARGING,

FOX_SITTING,
FOX_CROUCHING,
FOX_INTERESTED,
FOX_POUNCING,
FOX_SLEEPING,
FOX_FACEPLANTED,
FOX_DEFENDING,

HORSE_TAME,
HORSE_SADDLE,
HORSE_BRED,
HORSE_EATING,
HORSE_STANDING,
HORSE_OPEN_MOUTH,

PANDA_SNEEZE,
PANDA_ROLL,
PANDA_SIT,
PANDA_ON_BACK,

PIG_SADDLED,
STRIDER_SADDLED,

SHEEP_SHEARED,
SHEEP_WOOL_DYE_WHITE,
SHEEP_WOOL_DYE_ORANGE,
SHEEP_WOOL_DYE_MAGENTA,
SHEEP_WOOL_DYE_LIGHT_BLUE,
SHEEP_WOOL_DYE_YELLOW,
SHEEP_WOOL_DYE_LIME,
SHEEP_WOOL_DYE_PINK,
SHEEP_WOOL_DYE_GRAY,
SHEEP_WOOL_DYE_LIGHT_GRAY,
SHEEP_WOOL_DYE_CYAN,
SHEEP_WOOL_DYE_PURPLE,
SHEEP_WOOL_DYE_BLUE,
SHEEP_WOOL_DYE_BROWN,
SHEEP_WOOL_DYE_GREEN,
SHEEP_WOOL_DYE_RED,
SHEEP_WOOL_DYE_BLACK,

DEAD

actions:
  '30': # Tick index
  - value: true
    actionType: DEAD

USING_ITEM

actions:
  '30': # Tick index
  - value: true
    item: "{Count:1b,id:\"minecraft:diamond_sword\"}"
    actionType: USING_ITEM

Or you can just specify the material.

actions:
  '30': # Tick index
  - value: true
    item: DIAMOND_SWORD
    actionType: USING_ITEM

Last updated