minecraft:movement.jump for you with a switch.Get GodCraftOverview
minecraft:movement.jump is an entity component: it goes in the components object of a custom mob, or in one of its component groups. A move style where the mob gets around by hopping, waiting a moment between jumps like a slime.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
jump_delay | Range [a, b] | "[0.0, 0.0]" | How long the mob waits after landing before it jumps again. |
max_turn | Decimal | "30.0" | How many degrees the mob can turn in one tick. Lower values give smoother, slower turns. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:movement.jump": {
"jump_delay": "[0.0, 0.0]",
"max_turn": "30.0"
}
}