Started by
SmartKirb99
on
Topic category: Help with Minecraft modding (Java Edition)
I noticed that when I tried to get the mob to drop 3 different items, in my case, it is a chicken that is supposed to drop 4 ender pearls, 1 emerald, and 4 amethyst shards. I have no idea how to get this to work.
You have to use the loot tables
And you create three entries for each item that has a probability of coming out
Ok, so I already had the loot table, it looks like this, https://postimg.cc/bSnkLcXP, that is where the image should be located.
Strangely the link does not seem to work. I don't know if this one will work either but I hope it does. https://i.postimg.cc/rsnjVMQD/Screenshot-21.png
Already, entry weight represents as a percentage the probability that the roll will choose it.
Did you put such small values on purpose ?
Nah, I left the values for weight on default. I also figured out that I just had to write a procedure for it.