Entity Documentation - minecraft:behavior.stomp_turtle_egg
minecraft:behavior.stomp_turtle_egg
compels an entity to target and stomp on turtle eggs when detected.
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. |
interval | 120 | Integer | A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal. |
priority | not set | Integer | The higher the priority, the sooner this behavior will be executed as a goal. |
search_height | 1 | Integer | Height in blocks the mob will look for turtle eggs to move towards. |
search_range | 0 | Integer | The distance in blocks it will look for turtle eggs to move towards. |
speed_multiplier | 1.0 | Decimal | Movement speed multiplier of the mob when using this AI Goal. |
Example
"minecraft:behavior.stomp_turtle_egg":{
"priority": 3,
"speed_multiplier": 2,
"search_range": 10,
"search_height": 1,
"interval" : 5,
"goal_radius": 0.75
}
Vanilla entities examples
drowned
"minecraft:behavior.stomp_turtle_egg": {
"priority": 4,
"speed_multiplier": 1,
"search_range": 10,
"search_height": 2,
"goal_radius": 1.14,
"interval": 20
}
Vanilla entities using minecraft:behavior.stomp_turtle_egg
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈