Loot Conditions Entity Type - Tmtravlr/LootOverhaul GitHub Wiki
Property | Type | Description |
---|---|---|
type | String or String List | Entity ids the looted entity can be. (Optional, must have this or category) |
category | String or String List | Some convenient categories this entity can be. Valid choices are MONSTER, ANIMAL, AMBIENT, NPC, GOLEM, UNDEAD, ARTHROPOD, ILLAGER (Optional, must have this or type) |
Will pass if the entity killed/looted/etc. has this type or category.
Example Usage:
"conditions": [
{
"condition": "lootoverhaul:entity_type",
"type": [
"minecraft:zombie",
"minecraft:skeleton"
]
}
]
Or with only one name:
"conditions": [
{
"condition": "lootoverhaul:entity_type",
"type": "minecraft:chest_minecart"
}
]
Or with a category:
"conditions": [
{
"condition": "lootoverhaul:entity_type",
"category": "ANIMAL"
}
]
Or with several categories:
"conditions": [
{
"condition": "lootoverhaul:entity_type",
"category": [
"UNDEAD",
"ILLAGER"
]
}
]
Previous - Dimension Water Vaporizes | Back | Next - Entity Variable |
---|