In Control!

In Control!

72M Downloads

loot.json needs to make only one item drop

VectorJ2 opened this issue ยท 2 comments

commented

Hi, I wanted to make it so that after killing a creeper only either an iron ingot or a copper ingot would drop out, but sometimes two different ingots drop out at once, how can I fix this?

[
{
"mob": "minecraft:creeper",
"player": true,
"item": "minecraft:iron_ingot",
"itemcount": "0-1"
},
{
"mob": "minecraft:creeper",
"player": true,
"item": "minecraft:copper_ingot",
"itemcount": "0-1"
}
]

commented

Not tested but this might do it:

[
{
"mob": "minecraft:creeper",
"player": true,
"item": ["minecraft:iron_ingot", "minecraft:copper_ingot"],
"itemcount": "1"
}
]
commented

McJty, no, it's not work...