Custom Loottable in chests

Started by samos on

Topic category: Help with modding (Java Edition)

Last seen on 17:46, 16. Jul 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Loottable in chests

Hello!
I'm currently making a new Sculk structure, i wanted it to have a custom loottable for the chests. I copied multiple commands from the forum, but 0 worked: the chests were empty. And yes, i putted the right Mod name and Loottable name. So what's wrong with the following command?:
 

/give Dev chest{BlockEntityTag:{LootTable:"samogussys_modpack:sculk_loot"}}

 

(the name of the mod is "Samogussy's Modpack" and the loottable name is "Sculk Loot". 

Last seen on 17:46, 16. Jul 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update:I found the problem…
Sun, 06/18/2023 - 12:39

Update:

I found the problem. Because i duplicated the Loot table and deleted the old one, the new one hadn't the "chests/..."