minecraft:persistent

Defines whether an entity should be persistent in the game world.

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 Armor Stand uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:persistent": {}
}

Used by 17

Vanilla entities with minecraft:persistent in their definition:

Set it without writing JSON

The mob maker writes this component for you from a form and puts it in a ready-to-import .mcaddon.

Open the maker

Related components