Loot Tables Not Working (2020.5, 2021.1, Minecraft Java Edition 1.15.2)

Started by OrbitingGanymede on Thu, 04/01/2021 - 22:04

Topic category: Troubleshooting, bugs, and solutions

Last seen on 16:00, 19. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Loot Tables Not Working (2020.5, 2021.1, Minecraft Java Edition 1.15.2)
Thu, 04/01/2021 - 22:04

Hey! I am currently creating loot tables for chests. Usually, they worked, when I typed: /data merge block ~ ~-2 ~ {LootTable:"this_is_an_example"} into the command block two blocks above the chest. Normally, when I activate the Command Block, the loot table will generate in the chest (this used to work on 2020.5, Minecraft 1.15.2 before, so exactly the same version I am now having this issue on. Well, because now, it still says that the block got modified, but if I take a look at the chest inventory, there isn't a single item which the actualy loot table contains. I have already checked my loot tables, the placement and command of the command block, and I have even checked this with existing vanilla loot tables. The same happens with them. The chest won't have a single item. I am pretty sure that this problem is somehow related to Mcreator or at least Minecraft itself. I mean, in comparision to other features Mcreator contains, Loot Tables are pretty simple and not that complex. Has someone maybe a concrete answer why this isn't working, and maybe even a problem solution (which would be the best result to my issue)? Am I overlooking something and the answer to that issue is pretty simple? It would be really nice to receive some helpful answers! 

Last seen on 16:00, 19. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
with "there isn't a single…
Thu, 04/01/2021 - 22:06

with "there isn't a single item which the actualy loot table contains" I am saying that there is no item at all.

Last seen on 12:23, 14. Mar 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hi, I have the same problem…
Sun, 12/26/2021 - 12:52

Hi, I have the same problem at the moment, could you solve it? Please help me!

Last seen on 10:15, 14. May 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hello i sloved this problem…
Sun, 01/30/2022 - 13:24

Hello i sloved this problem. All you need is this command:/give @s chest{BlockEntityTag:{LootTable:"modname:chest/loottablename"}} or this: setblock ~ ~1 ~ minecraft:chest{LootTable:"modname:chests/loottablename"} destroy.(this command is on command block) and remember when you place the chest in your structure don't open the chest before importing the structure or this will not generate the loot.

hope it helps :)