Started by
bluelad
on
Topic category: Help with MCreator software
Hello everyone, I'm learning about Loot Tables because I have made an item that can be upgraded using Templates, just like Netherite, and I want the Template to spawn in the End chests only, how do I do that? I tried creating a Loot Table and it looks like everything is good but I can't specify a biome, I don't know what to do.
I found out how. So, I create Loot Table, I open this link: https://misode.github.io/loot-table I hit "Preset" at the top and type in "End" to find the End Loot Table, I then add a new "Entry" and put any item that is not in there as a temporary place holder (this step is only for when you want to add an item that's from a mod and doesn't exist in Vanilla Minecraft, if the item exists in Minecraft, then you can add directly from there) and I give it the proper settings, like "Weight" for rarity of spawning. I go back to MCreator, I Right-Click the Loot Table I created and hit "Lock/Unlock mod element", this way, MCreator locks the code so it doesn't influence it in anyway and we then can input our own code (This step is very important as MCreator won't let you alter the code unless it's locked), I copy the code from the website, the GitHub link, then paste in that Loot Table we created, we navigate and locate the temporary place holder item we put as an Entry and then change it to the registry name of the mod item we want.
Please keep in mind that this process I have found but is probably not right, this reloading the End's chests' Loot Tables for no reason, I'm sure there is a way to "inject" the mod item in there or any other item directly without recreating the Loot Table, but I don't know how as of yet, so this can temporarily work.