Started by
Cnf
on
Topic category: Help with Minecraft modding (Java Edition)
I have created a biped entity with Mcreator. It has a custom weapon as its main hand item and wears leather armor. How do I keep it from dropping whatever it has equipped?
I'm guessing you mean stop dropping items that are held when it is killed? If so, one possibility might be to remove the items it is holding and wearing when it takes damage and its health is below 0 HP, that might work, but I'm not sure, and it would be obvious that the items are being removed. I can't think of another way to do it without coding though, and I don't know enough about coding to say whether it is possible or not with coding.
Maybe a custom loot table could work
I have already tried a custom loot table, all it does is make the mob drop the loot table and what it has equipped occasionally