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

Started by SmartKirb99 on

Topic category: Help with modding (Java Edition)

Last seen on 22:41, 16. Nov 2023
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.

Last seen on 21:38, 22. Apr 2024
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

Last seen on 21:38, 22. Apr 2024
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

Last seen on 22:41, 16. Nov 2023
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, so I already had the…
Sun, 11/12/2023 - 14:48

Ok, so I already had the loot table, it looks like this, https://postimg.cc/bSnkLcXP, that is where the image should be located. 

Last seen on 21:38, 22. Apr 2024
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 ?

Last seen on 22:41, 16. Nov 2023
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.