Loot Conditions Command - Tmtravlr/LootOverhaul GitHub Wiki
Property | Type | Description |
---|---|---|
command | String or String List | The command or commands to run. |
Will pass if a command runs successfully
Example Usage: (tests for a player who has died at least 100 times assuming you have a scoreboard objective called deaths)
"conditions": [
{
"condition": "lootoverhaul:command",
"command": "testfor @a[r=16,score_deaths_min=100]"
}
]
Or you could give it a list of commands: (tests for a player at least level 30 or a creeper nearby)
"conditions": [
{
"condition": "lootoverhaul:command",
"command": [
"testfor @a[lm=30,r=32]",
"testfor @e[type=minecraft:creeper,r=32]"
]
}
]
Previous - Block State | Back | Next - Difficulty |
---|