Trying to get 3 items to drop from a custom mob with a loot table

Started by SmartKirb99 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trying to get 3 items to drop from a custom mob with a loot table

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.

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You have to use the loot…
Sun, 11/12/2023 - 09:26

You have to use the loot tables

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And you create three entries…
Sun, 11/12/2023 - 09:43

And you create three entries for each item that has a probability of coming out

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Already, entry weight…
Sun, 11/12/2023 - 20:11

Already, entry weight represents as a percentage the probability that the roll will choose it.

 

Did you put such small values on purpose ?

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nah, I left the values for…
Sun, 11/12/2023 - 20:32

Nah, I left the values for weight on default. I also figured out that I just had to write a procedure for it.