1. Wiki
  2. /Entities
  3. /minecraft:jump.dynamic

minecraft:jump.dynamic

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

Overview

minecraft:jump.dynamic is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Changes the entity's hop based on how fast it is moving, like a rabbit. It needs minecraft:movement.skip to work.

Fields

FieldTypeDefaultDescription
regular_skip_dataJumpDataDefinition{"animation_duration":1,"distance_scale":1,"height":0.1,"jump_delay":30}Jump settings used for normal hops.
fast_skip_dataJumpDataDefinition{"animation_duration":1,"distance_scale":1,"height":0.1,"jump_delay":30}Jump settings used for fast hops.

Example

Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):

BP/entities/<name>.json
{
  "minecraft:jump.dynamic": {
    "regular_skip_data": {
      "animation_duration": 1,
      "distance_scale": 1,
      "height": 0.1,
      "jump_delay": 30
    },
    "fast_skip_data": {
      "animation_duration": 1,
      "distance_scale": 1,
      "height": 0.1,
      "jump_delay": 30
    }
  }
}

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