Skip to content

Structure

Entity Condition Type.

Checks whether an entity is standing inside a specific structure or a structure that belongs to a specific tag.

Type ID: apugli:structure

Caution

This condition is only effective server-side. That means client-side power types such as apoli:climbing, apoli:entity_glow, apoli:shader, etc. won't work with this.

Fields

Field Type Default Description
structure Identifier optional ID of the structure the entity needs to be in to pass the check.
tag Identifier optional ID of the tag of structures the entity needs to be in to pass the check.

Example

"condition": {
    "type": "apugli:structure",
    "structure": "minecraft:fortress"
}
This example checks if the entity is standing in a nether fortress.