Started by
507CEmaster
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to sync a loot table to a custom chest but I don't know how to sync it. I already have the custom chest and the loot table created.
I watched NorthWestTrees Gaming video but that is for 1.14.4 and the code he shows doesn't work on 1.12.2
Then switch to 1.14. Easy
I've all my mods elements in 1.12.2
i think the command for setting the container with the loot table doesn't work in 1.12.2. Sorry bro, i don't know how to do this, i need to do the same thing too, but i can't fin a way
1.12.2 is outdated and removed in 2020.3
please update
also, 1.12.2 does not support loot tables.
well, I guess I will have to make a switch.
Thanks for the help!
Just add a "name" entry in your loot table .JSON...
Like this:
"pools": [
{
"name" : "yurloottablename",
"rolls": {
It's simple.
Oh, and create a java file LootHandler in modid/util folder and add this code:
Well I would say keep trucking in 1.12, ignore the people saying "just update." If you truly wanna develop for 1.12 then go for it.
Hell there are still modders working in 1.7
Do let others talk you out of your preferred version!