Loot table won't create items in chest. (fixed)

Started by RabbitRock on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Loot table won't create items in chest. (fixed)
Mon, 05/02/2022 - 14:31 (edited)

 I was trying to create a structure with a loot table and searched up many online tutorials, but, no matter what command I use the chest ends up empty. Any help would be greatly appreciated. 

Thank you. 

(now fixed)

Edited by RabbitRock on Mon, 05/02/2022 - 14:31
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
/setblock ~ ~ ~ Chest…
Sat, 04/09/2022 - 10:45

/setblock ~ ~ ~ Chest{Loottable:"<mod namespace>:chests/<loot table name>"} assuming you have done everything else correctly

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It doesn't work so I must've…
Sat, 04/09/2022 - 15:53

It doesn't work so I must've done something else wrong. I have no clue what happened, I tried creating another workspace, and doing it there, but nothing works. Is there anything I might be missing? 

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm now it works. 
Sat, 04/16/2022 - 14:50

nvm now it works.