minecraft:dimension_bound

Prevents the entity from changing dimension through portals.

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

{
  "minecraft:dimension_bound": {}
}

Used by 10

Vanilla entities with minecraft:dimension_bound in their definition:

Related components