Entity Documentation - minecraft:behavior.flee_sun
minecraft:behavior.flee_sun
compels the entity to actively avoid the sunlight.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
priority | not set | Integer | The higher the priority, the sooner this behavior will be executed as a goal. |
speed_multiplier | 1.0 | Decimal | Movement speed multiplier of the mob when using this AI Goal. |
Example
"minecraft:behavior.flee_sun":{
"priority": 2,
"speed_multiplier":1.50
}
Vanilla entities examples
skeleton
"minecraft:behavior.flee_sun": {
"priority": 2,
"speed_multiplier": 1
}
Vanilla entities using minecraft:behavior.flee_sun
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for