Loottables not working

Started by Corrupt_Falcon on

Topic category: Help with modding (Java Edition)

Last seen on 11:14, 29. May 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Loottables not working

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: the screenshot of my loottable

Last seen on 23:28, 12. Jan 2023
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have this exact same…
Wed, 10/20/2021 - 17:04

I have this exact same problem, i have no idea why it is not working

Last seen on 18:37, 11. Jul 2023
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2023 and the problem is…
Tue, 07/11/2023 - 18:37

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'}