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

Started by RabbitRock on

Topic category: Help with modding (Java Edition)

Last seen on 02:45, 7. May 2023
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
Last seen on 17:59, 7. Jan 2024
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

Last seen on 02:45, 7. May 2023
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? 

Last seen on 02:45, 7. May 2023
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.