Dimension

Entity Condition.

Checks whether the player is in a specified dimension.

Type ID: origins:dimension

Fields:

Field Type Default Description
dimension Identifier 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 IDs of custom/modded dimensions should also work.

Example

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

This example checks if the player is not in the Overworld dimension.