Biome (Entity Condition Type)
Checks whether the entity is in a specified biome.
Checks whether the entity is in a specified biome.
Type ID: apoli:biome
Fields
| Field | Type | Default | Description |
|---|---|---|---|
biome | Identifier | optional | If specified, only evaluate the condition to true if the biome the entity is in matches the specified namespace and ID. |
biomes | Array of Identifiers | optional | If specified, only evaluate the condition to true if the biome the entity is in matches one of the specified namespace and IDs. |
condition | Biome Condition Type | optional | If specified, only evaluate the condition to true if the biome the entity is in fulfills the specified biome condition type. |
Examples
"condition": {
"type": "apoli:biome",
"biome": "minecraft:plains"
} This example will check if the entity is currently in a Plains biome.
"condition": {
"type": "apoli:biome",
"condition": {
"type": "apoli:category",
"category": "forest"
}
} This example will check if the entity is currently in a Forest-like biome.