Conditions - ACCBDD/complicated_bees GitHub Wiki
There are a variety of mutation conditions available. Add-ons can add their own conditions - that process is outside the scope of this wiki, though.
Conditions
Each of these can be defined in a Mutation's conditions
field. They limit the conditions that a
mutation can occur in; all conditions need to be satisfied for the mutation to be possible.
Block Under
This condition is satisfied when the block under the apiary is the defined block.
Definition:
{
"complicated_bees:block_under": {
"block": "A BLOCK ID"
}
}
Block Tag Under
This condition is satisfied when the block under the apiary matches the defined block tag.
Definition:
{
"complicated_bees:block_tag_under": {
"tag": "A BLOCK TAG"
}
}
Daytime
This condition is satisfied when the dimension that the apiary is in is daytime.
Definition:
{
"complicated_bees:daytime": {}
}
Nighttime
This condition is satisfied when the dimension that the apiary is in is nighttime.
Definition:
{
"complicated_bees:nighttime": {}
}
Temperature
This condition is satisfied when the area the apiary is in between the min
and max
(inclusive) temperatures.
Definition:
{
"complicated_bees:temperature": {
"min": "ONE OF THE FOLLOWING: frozen, icy, cold, normal, warm, hot, hellish",
"max": "ONE OF THE FOLLOWING: frozen, icy, cold, normal, warm, hot, hellish"
}
}
Humidity
This condition is satisfied when the area the apiary is in between the min
and max
(inclusive) humidities.
Definition:
{
"complicated_bees:humidity": {
"min": "ONE OF THE FOLLOWING: dry, normal, wet",
"max": "ONE OF THE FOLLOWING: dry, normal, wet"
}
}
Downfall
This condition is satisfied when the dimension the apiary is in has downfall active.
Definition:
{
"complicated_bees:downfall": {}
}
Dimension
This condition is satisfied when the dimension the apiary is in is the same as the one defined in the dimension
field.
{
"complicated_bees:dimension": {
"dimension": "A RESOURCE KEY POINTING TO A DIMENSION"
}
}
Biome
This condition is satisfied when the biome the apiary is in is the same as the one defined in the dimension
field.
{
"complicated_bees:biome": {
"biome": "A RESOURCE KEY POINTING TO A DIMENSION OR A # PREFIXED BIOME TAG KEY"
}
}
Ecstatic
This condition is satisfied when the queen is ecstatic.
Definition:
{
"complicated_bees:ecstatic": {}
}