This repository was archived by the owner on Sep 5, 2024. It is now read-only.
generated from CorgiTaco-Archive/Forge-Mixin-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Config Conditions
Corgi Taco edited this page Dec 28, 2021
·
31 revisions
This page will cover the available conditions that come shipped with Mobifier by default
- The attribute condition lets you check a mob's current attributes such as HP or attack damage with a double comparator.
- This requires all listed checks to pass.
"conditions_to_apply": [
{
"attribute_is": {
"minecraft:generic.max_health": ">=5"
},
"type": "mobifier:attribute"
}
]- This condition checks whether or not a the biome a mob is in is within the given biome category. The following biome categories are acceptable arguments:
none,taiga,extreme_hills,jungle,mesa,plains,savanna,icy,the_end,beach,forest,ocean,desert,river,swamp,mushroom,nether,underground(1.17+). - Requires the mob to be in one of these biome categories to pass.
"conditions_to_apply": [
{
"biome_category_is": [
"icy"
],
"type": "mobifier:biome_category"
}
]- This condition checks whether or not block(s) are at an offset position from the entity.
{
"conditions_to_apply": [
{
"has": [
{
"is": [
"minecraft:snow_block"
],
"offset": [
0,
-1,
0
]
}
],
"type": "mobifier:blocks_are"
}
]
}- This condition checks whether or not blockstate(s) are at an offset position from the entity.
"conditions_to_apply": [
{
"has": [
{
"is": [
{
"Name": "minecraft:oak_sapling",
"Properties": {
"stage": "0"
}
}
],
"offset": [
0,
-1,
0
]
}
],
"type": "mobifier:blockstates_are"
}
]