Dimension (Entity Condition Type)

Checks whether the entity is in a specified dimension.

Checks whether the entity is in a specified dimension.

Type ID: apoli:dimension

Fields

FieldTypeDefaultDescription
dimensionIdentifierThe namespace and ID of the dimension the player needs to be in for this condition to evaluate to true. Vanilla dimensions are minecraft:overworld, minecraft:the_nether and minecraft:the_end, but namespace and IDs of custom/modded dimensions should also work.

Examples

"condition": {
    "type": "apoli:dimension",
    "dimension": "minecraft:overworld",
    "inverted": true
}

This example will check if the player is not in the Overworld dimension.