loot table doesn't work

Started by snudoo_ on

Topic category: Help with modding (Java Edition)

Last seen on 00:48, 11. Feb 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
loot table doesn't work

I'm trying to make a structure with a chests and loot tables, but after I do the command, when I open the chest it's empty.

the command: /data merge block (the coordinates, which are correct) {LootTable:"desertloot"}

As I said before, when I open the chest after doing the command (to check if it works), the chest is completely empty and I don't know why. Does anyone know why this happens and how to fix it?

 

Last seen on 17:28, 24. Oct 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try to write the commands…
Sun, 02/07/2021 - 19:25

Try to write the commands with a command block. Also make sure that loot table namespace is selected as "minecraft" and the loot table type as "chest". If the loot table namespace isn't minecraft. You'll have to delete and recreate the loot table with a different name.

Last seen on 00:48, 11. Feb 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was using a command block…
Mon, 02/08/2021 - 13:27

I was using a command block and it didn't work. But I will try the other stuff you said, thank you.

Last seen on 00:48, 11. Feb 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The loot table type is chest…
Mon, 02/08/2021 - 13:45

The loot table type is chest, also. What do you mean by the namespace, though? Do you mean the name should be "minecraft:loottablename" ?

Last seen on 00:48, 11. Feb 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
actually never mind, I got it
Tue, 02/09/2021 - 13:19

actually never mind, I got it

Last seen on 13:21, 25. Jun 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's not working even with…
Sat, 11/06/2021 - 08:26

It's not working even with the Minecraft namespace