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