Entity Documentation - minecraft:behavior.move_to_lava

minecraft:behavior.move_to_lava compels an entity to move to lava when on land.

Caution

minecraft:behavior.move_to_lava is not currently used by any entities within Minecraft: Bedrock Edition.

Parameters

Name Default Value Type Description
goal_radius 0.5 Decimal Distance in blocks within the mob considers it has reached the goal. This is the "wiggle room" to stop the AI from bouncing back and forth trying to reach a specific spot.
priority not set Integer The higher the priority, the sooner this behavior will be executed as a goal.
search_count 10 Integer The number of blocks each tick that the mob will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick.
search_height 1 Integer Height in blocks the mob will look for lava to move towards.
search_range 0 Integer The distance in blocks it will look for lava to move towards.
speed_multiplier 1.0 Decimal Movement speed multiplier of the mob when using this AI Goal.

Example

"minecraft:behavior.move_to_lava":{
    "priority": 2,
    "search_range": 25,
    "search_height": 5,
    "goal_radius": 0.75,
    "search_count": 10
}

Vanilla entities examples

No entities currently use minecraft:behavior.move_to_lava

Vanilla entities using minecraft:behavior.move_to_lava

No entities currently use minecraft:behavior.move_to_lava