Entity Documentation - minecraft:behavior.restrict_sun
minecraft:behavior.restrict_sun
compels an entity to actively avoid direct 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. |
Example
"minecraft:behavior.restrict_sun":{
"priority": 2
}
Vanilla entities examples
No entities currently use minecraft:behavior.restrict_sun
Vanilla entities using minecraft:behavior.restrict_sun
No entities currently use minecraft:behavior.restrict_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