minecraft:behavior.stomp_turtle_egg
Allows this mob to stomp turtle eggs
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
interval | Integer | 120 | A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal |
search_range | Integer | 0 | The distance in blocks it will look for turtle eggs to move towards |
search_height | Integer | 1 | Height in blocks the mob will look for turtle eggs to move towards |
goal_radius | Decimal | 0.5 | 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. |
search_count | Integermin 0 | 10 | The number of randomly selected 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. |
speed_multiplier | Decimalmin 0 | 1 | Movement speed multiplier of the mob when using this goal. |
priority | Integermin 0 | 0 | |
control_flags | List of text | [] |
Example from the game files
This is how vanilla Drowned uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:behavior.stomp_turtle_egg": {
"goal_radius": 1.14,
"priority": 4,
"search_height": 2,
"interval": 20,
"search_range": 10,
"speed_multiplier": 1
}
}Used by 6
Vanilla entities with minecraft:behavior.stomp_turtle_egg in their definition:
Related components
behavior.nearest_attackable_targetbehavior.melee_box_attackbehavior.ranged_attackbehavior.leap_at_targetbehavior.nearest_prioritized_attackable_targetbehavior.aquatic_charge_attackbehavior.charge_held_itembehavior.guardian_attackbehavior.ocelotattackbehavior.slime_attackbehavior.charge_attackbehavior.delayed_attackbehavior.dragonchargeplayerbehavior.dragonflamingbehavior.dragonstrafeplayerbehavior.fire_at_targetbehavior.knockback_roarbehavior.melee_attackbehavior.ram_attackbehavior.roarbehavior.send_eventbehavior.sonic_boombehavior.stomp_attackbehavior.summon_entity