minecraft:hide

Moves to and hides at their owned POI or the closest nearby.

Properties

This component has no properties in the official schema: add it as an empty object {} to switch the behaviour on.

Example from the game files

This is how vanilla Villager uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:hide": {}
}

Used by 1

Vanilla entities with minecraft:hide in their definition:

Related components