Chest Loot Table Not Randomizing

Started by Lil Shoosh on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Chest Loot Table Not Randomizing

So, I had made a tower structure that has chests on each level. Each chest is supposed to have random items from the loot table I made. I used the command blocks to set randomized chests, and they are randomized when I place them, but they don't seem to be randomized when the structure generates in the world. Can someone help me understand what's wrong?

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Which command did you use?…
Fri, 06/05/2020 - 07:21

Which command did you use?

Did you open the chests before saving the structure? If a chest is opened for the first time, loot will be generated based on its loot table. This loot is then saved as the chest's content. In order for chests to be random, they have to be saved without opening them first.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
^ ^ ^  Make sure you are on…
Fri, 06/05/2020 - 07:30

^ ^ ^ 

Make sure you are on 1.14 or newer. Loot tables do not work before that version.

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use online Command…
Sat, 06/27/2020 - 07:42

Use online Command Generators with /setblock like MCStacker.net. they are randomly generating. But it's generating no stacks (for me, i think it's a bug)