Loot table not working

Started by Geilosaurus on Tue, 05/17/2022 - 14:35

Topic category: Help with modding (Java Edition)

Last seen on 19:05, 23. May 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Loot table not working
Tue, 05/17/2022 - 14:35

I wanted to make a custom chest loot table for a structure, so I created one and put that chest with the /setblock ~ ~ ~ minecraft:chest{LootTable:"chests/sky_altar"} command in the structure. I tested it out but the chest is just empty. I tried placing the chest somewhere else and even remade the loot table but it all doesn't work. The chest is always empty. How can I fix that?

Last seen on 10:14, 24. Jun 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make your structure Place…
Tue, 05/17/2022 - 14:43

Make your structure

Place inside your chest and add content (or even better randomize it by using a block spawner)

Save your structure

That's quite simple

Last seen on 19:05, 23. May 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I did just that but the…
Tue, 05/17/2022 - 15:13

I did just that but the chest was just empty

Last seen on 10:14, 24. Jun 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You must save your structure…
Tue, 05/17/2022 - 15:50

You must save your structure after you place block inside

Then you must re import your structure into Mcreator

Last seen on 19:05, 23. May 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I did that but it doesn't…
Wed, 05/18/2022 - 17:14

I did that but it doesn't work

Last seen on 10:14, 24. Jun 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if it does not work is cause…
Wed, 05/18/2022 - 17:16

if it does not work is cause you make it in the wrong way

I have plenty situations of this kind in my mod

Just download my mod XII - The Hanged Man   search for cyclop cave and you will see inside my custom chest which always contains different loot