Skip to content

Animations

Matthias Neid edited this page Aug 9, 2024 · 5 revisions

An animation defines how individual blocks appear usually using block entities.

The animation can be set in CLI using the --animation or -a option with the name of the animation and optional parameters in []. It might be necessary to use quotes around the whole argument to prevent the shell from interpreting the parameters, e.g. -a 'plop[duration=8]'. Multiple parameters can be comma separated, e.g. -a 'float[x=7,y=8,z=9]'

This page lists all animation presets currently available in plop, you can also write your own.


none

No animation, block just appears.

plop_none

There are no further options.


plop

PlopAnimation.php

The block spawns in the center of its target location while being tiny and grows to full size.

plop_plop

Available options:

Option Type Description Default Example
duration int Duration of the animation in ticks 4 'plop[duration=8]'

grow

GrowAnimation.php

The block grows flat from the bottom to the full size.

plop_grow

Available options:

Option Type Description Default Example
duration int Duration of the animation in ticks 4 'grow[duration=8]'

drop

DropAnimation.php

The block drops from above into place while growing in size.

plop_drop

Available options:

Option Type Description Default Example
duration int Duration of the animation in ticks 4 'drop[duration=8]'
height int Height in blocks to drop from 40 'drop[height=10]'

float

FloatAnimation.php

The block floats into position from a specified starting position.

plop_float

Available options:

Option Type Description Default Example
duration int Duration of the animation in ticks 4 'float[duration=8]'
x int Relative X coordinate for the starting position 0 'float[x=7,y=8,z=9]'
y int Relative Y coordinate for the starting position 0 'float[x=7,y=8,z=9]'
z int Relative Z coordinate for the starting position 0 'float[x=7,y=8,z=9]'
Clone this wiki locally