minecraft:behavior.restrict_sun

Allows the mob to automatically start avoiding the sun when its a clear day out.

Properties

PropertyTypeDefaultWhat it does
priorityIntegermin 00
control_flagsList of text[]

Used by

No vanilla entity file in the official samples uses this component. It is still part of the schema, so add-ons can use it.

Related components