Skip to main content

Biome (Entity Condition Type)

Checks whether the entity is in a given biome, one of several biomes, or a biome that passes a biome condition.

Type ID: apoli:biome

Fields

FieldTypeDefaultDescription
biomeIdentifieroptionalThe ID of the biome the entity must be in.
biomesArray of IdentifiersoptionalSeveral biome IDs. The entity must be in one of them.
conditionBiome Condition TypeoptionalThe biome the entity is in must pass this condition.

Examples

"condition": {
    "type": "apoli:biome",
    "biome": "minecraft:plains"
}

This checks whether the entity is in a plains biome.

"condition": {
    "type": "apoli:biome",
    "condition": {
        "type": "apoli:in_tag",
        "tag": "minecraft:is_forest"
    }
}

This checks whether the entity is in a forest-like biome, meaning any biome in the minecraft:is_forest biome tag, through the apoli:in_tag biome condition.