minecraft:instant_despawn

Despawns the Actor immediately.

Properties

PropertyTypeDefaultWhat it does
remove_child_entitiesBooleanfalseIf true, all entities linked to this entity in a child relationship (eg. leashed) will also be despawned.

Example from the game files

This is how vanilla Copper Golem uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:instant_despawn": {}
}

Used by 2

Vanilla entities with minecraft:instant_despawn in their definition:

Related components