minecraft:behavior.jump_to_block

Allows an entity to jump to another random block.

Properties

PropertyTypeDefaultWhat it does
search_widthInteger1 to 158The width (in blocks, in range [1, 15]) of the search box, centered around the mob.
search_heightInteger1 to 1510The height (in blocks, in range [1, 15]) of the search box, centered around the mob.
minimum_path_lengthInteger5The minimum length (in blocks) of the mobs path to a block, in order to consider jumping to it.
minimum_distanceInteger2The minimum distance (in blocks) from the mob to a block, in order to consider jumping to it.
scale_factorDecimal0.7The scalefactor of the bounding box of the mob while it is jumping.
max_velocityDecimal1.5The maximum velocity with which the mob can jump.
cooldown_rangeObject{"max": 20, "min": 10}Minimum and maximum cooldown time-range (positive, in seconds) between each attempted jump.
minDecimal0
maxDecimal0
preferred_blocksList of text or object[]Blocks that the mob prefers jumping to.
preferred_blocks_chanceDecimal0 to 11Chance (between 0.0 and 1.0) that the mob will jump to a preferred block, if in range. Only matters if preferred blocks are defined.
forbidden_blocksList of text or object[]Blocks that the mob can't jump to.
priorityIntegermin 00
control_flagsList of text[]

Example from the game files

This is how vanilla Frog uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:behavior.jump_to_block": {
    "cooldown_range": {
      "min": 5,
      "max": 7
    },
    "priority": 10,
    "max_velocity": 1,
    "forbidden_blocks": [
      {
        "name": "minecraft:water"
      }
    ],
    "minimum_distance": 1,
    "minimum_path_length": 2,
    "preferred_blocks": [
      {
        "name": "minecraft:waterlily"
      },
      {
        "name": "minecraft:big_dripleaf"
      }
    ],
    "preferred_blocks_chance": 0.5,
    "scale_factor": 0.6,
    "search_height": 4,
    "search_width": 8
  }
}

Used by 2

Vanilla entities with minecraft:behavior.jump_to_block in their definition:

Related components