minecraft:variable_max_auto_step for you with a switch.Get GodCraftOverview
minecraft:variable_max_auto_step is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets the entity step up blocks automatically by different heights depending on the ground it is on and whether a player is riding it. Can't be used with the horse runtime identifier.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
base_value | Decimal | "0.5625" | Step height on normal blocks. |
controlled_value | Decimal | "0.5625" | Step height on normal blocks while a player is steering. |
jump_prevented_value | Decimal | "0.5625" | Step height on blocks that stop jumping, such as honey. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:variable_max_auto_step": {
"base_value": "0.5625",
"controlled_value": "0.5625",
"jump_prevented_value": "0.5625"
}
}