Started by
DumbWays 15
on
Topic category: Help with MCreator software
I want to make a mob that drops a loot table instead of one item, but how do i do this? Someone please help...
Topic category: Help with MCreator software
I want to make a mob that drops a loot table instead of one item, but how do i do this? Someone please help...
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.
I don't exactly understand. Can you explain in more detail?
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".
Thanks so much!
You're welcome! :)