Jump to content

[1.16.5] Modded Entity dropping item twice (Held & Loot Table)


DanteStern

Recommended Posts

My modded entity drops is supposed to drop it's weapon as done through the loot table, that way it always drops at full durability. And it does do that, but it also will occasionally drop the one it spawns holding(which typically has very low durability), and sometimes it even drops both. How would I go about fixing this?

Here's the Loot Table code, if that would be useful:

Spoiler

{ "type": "minecraft:entity", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "functions": [ { "function": "minecraft:set_count", "count": { "min": 0.0, "max": 1.0, "type": "minecraft:uniform" } } ], "name": "villains:trapper_cleaver" } ], "conditions": [ { "condition": "minecraft:random_chance_with_looting", "chance": 0.1, "looting_multiplier": 0.01 } ] } ] }

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.