Started by
snudoo_
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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.
I was using a command block and it didn't work. But I will try the other stuff you said, thank you.
The loot table type is chest, also. What do you mean by the namespace, though? Do you mean the name should be "minecraft:loottablename" ?
actually never mind, I got it
It's not working even with the Minecraft namespace