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

FieldTypeDefaultDescription
biomeIdentifieroptionalIf specified, only evaluate the condition to true if the biome the entity is in matches the specified namespace and ID.
biomesArray of IdentifiersoptionalIf specified, only evaluate the condition to true if the biome the entity is in matches one of the specified namespace and IDs.
conditionBiome Condition TypeoptionalIf 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.