-
Bug
-
Resolution: Unresolved
-
None
-
1.21.0
-
None
-
Confirmed
-
Multiple
-
1264882
The following behaviors do not make a custom entity flee the sun as they should:
- "minecraft:behavior.flee_sun" {}
- "minecraft:behavior.restrict_sun" {}
The custom entity does not flee the sun in any situation unless they are assigned a runtime identifier of an entity that flees the sun, like a skeleton.
Steps to reproduce:
1. Import the attached pack and apply it to a new creative mode world.
2. Make a solid block ceiling.
3. Spawn a pig under the open sky, near the ceiling.
Expected result
The pig moves under the solid blocks.
Observed result
The pig does not flee the sun, no matter what their priority is or if the sun is burning them.
- relates to
-
MCPE-165197 Component minecraft:on_hurt does not do anything
- Open