Started by
Corrupt_Falcon
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod to structures and im trying to make custom loottables for them. I've followed many tutorials but the command to give a chest the loottables loot isnt working. The command im using is: /data merge block ~ ~-2 ~ {LootTable:'small_ruins_loot'} the command block is 2 blocks above the chest. When i activate the command block it says that the command worked but theres nothing in the chest. In case i did the loottable wrong here is a screenshot of it:
I have this exact same problem, i have no idea why it is not working
2023 and the problem is still there, I don't know what to do. I've tried this two different commands, and it doesn'tc work:
/data merge block ~ ~-2 ~ {LootTable:''loot_table_name"}
/setblock ~ ~-2 ~ minecraft:chest{LootTable:'mod_name:chests/loot_table_name'}