Pular para o conteúdo principal

Physics & World

Manipulate the physical world and player movement.

Configuration

set_velocity_action

Launch the player in a specific direction. xDouble

Velocity X. yDouble

Velocity Y (Up/Down). zDouble

Velocity Z.

create_explosion_action

Spawn a calibrated explosion. powerFloat

TNT equivalent power. fireBoolean

Should it create fire? breakBlocksBoolean

Should it destroy terrain?

spawn_lightning_action

Strike lightning at the player's location. damageBoolean

Should it deal damage?

launch_firework_action

Spawn a decorative firework. typeEnum

Shape (BALL, STAR, BURST, CREEPER, LARGE_BALL). colorColor

Primary color. flickerBoolean

Add flicker effect.

Example Usage

set_velocity_action:
x: 0.0
y: 1.5
z: 0.0
create_explosion_action:
power: 5.0
fire: false
breakBlocks: false