Wiki

Clone wiki

Loot Overhaul / Loot Conditions - Or

Loot Conditions - Or

Structure:

Property Type Description
conditions Condition Object List The conditions to check; at least one must pass.

Description:

Will pass of any of its conditions pass

Example Usage: (will pass if in a 'watery' biome or it's raining/storming)

"conditions": [
    {
        "condition": "lootoverhaul:or",
        "conditions": [
            {
                "condition": "lootoverhaul:in_biome_type",
                "biome_types": [
                    "WATER"
                ]
            },
            {
                "condition": "lootoverhaul:weather",
                "weather": [
                    "RAIN",
                    "THUNDER"
                ]
            }
        ]
    }
]

Previous - And Back Next - Random Chance With Fortune

Updated