How to make mobs drop loot tables?

Started by DumbWays 15 on

Topic category: Help with MCreator software

Last seen on 05:59, 31. Jul 2023
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make mobs drop loot tables?

I want to make a mob that drops a loot table instead of one item, but how do i do this? Someone please help...

Last seen on 15:09, 2. Sep 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the way I do it is you add a…
Fri, 07/24/2020 - 10:58

the way I do it is you add a procedure where when the entity dies you create the loot table through procedures.

you can do this with a RNG or something like that, and the spawn gem block.  

Last seen on 05:59, 31. Jul 2023
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't exactly understand…
Fri, 07/24/2020 - 22:14

I don't exactly understand. Can you explain in more detail?

Last seen on 21:12, 25. Jul 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
After you make your mob,…
Mon, 08/10/2020 - 19:15

After you make your mob, make a loot table element (under the "+" in the workspace).

Create the loot table with the items and chances you want (see https://mcreator.net/wiki/how-make-loot-table)

Then, to connect the loot table to the mob, do this:

If you go inside the Loot Table element, the very top input slot says "Loot table registry name:". You first need to set that input to the "entities/chicken" in the drop-down box.

Next, delete everything after the "/", leaving only "entities/".

Finally, leaving the "entities/" untouched, add the ENTIRE name of your mob to the end, with all the uppercase letters lowercase, and a "_" before each of where the uppercase letters were (except if the first letter was uppercase. don't put a underscore before that). This step is the problematic one.

For example, if my entity element was named "LiveEntityFish" (as in that's what the name showed up as on the main workspace screen, not the in-game gui name), that top input slot had to say "entities/live_entity_fish". Note that I had to add "live_entity" after the "/", because that was what my element's name started with, and I put a "_" before where each of the uppercase letters had been (except the first "L" of course).

Also, the other two drop down slots are set to "mod" and "Entity".

 

Last seen on 05:59, 31. Jul 2023
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks so much!
Tue, 08/11/2020 - 14:58

Thanks so much!

Last seen on 21:12, 25. Jul 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome! :)
Wed, 08/12/2020 - 05:08

You're welcome! :)