Started by
MamaLuigi
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make it so when you kill a Villager, it will drop 1-3 Emeralds, (from vanilla Minecraft), and a 50% chance to drop 1-2 Mystery Meat, (from my mod).
I would probably have to use loot tables for this, so could someone help me figure this out?
Any help would be greatly appreciated!
Either use a seperate Mod like Looot or use Global Loot Modifiers.
Global Loot Modifiers needs custom coding.
would it be possible to do it without loot tables, but maybe with procedures instead?
actually, i just figured it out
you just make a procedure that runs when a mob dies, and i would just check if the mod was a villager, and then spawn the items if it was