1. Wiki
  2. /Entities
  3. /minecraft:variable_max_auto_step

minecraft:variable_max_auto_step

Don't want to write this by hand? GodCraft sets minecraft:variable_max_auto_step for you with a switch.Get GodCraft

Overview

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

FieldTypeDefaultDescription
base_valueDecimal"0.5625"Step height on normal blocks.
controlled_valueDecimal"0.5625"Step height on normal blocks while a player is steering.
jump_prevented_valueDecimal"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"
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more