Started by
VolcanoBoy
on
Topic category: Help with Minecraft modding (Java Edition)
I create a chest loot, and i write in the command block: /data merge block ~ ~-2 ~ {LootTable:"test"}, the commandblock it is 2 block higher than the chest, and write the output text, but the chest is empty... What is the error? (comment: the chest open-animation it doesnt work too)
You have done the wrong command:
/data merge block ~ ~ ~ {LootTable:" yourmodid: chests/loottablename}
You have directly watch at the chest or the command will be applied to another block
/data merge block ~ ~-2 ~ {LootTable:"YourModID:LootTableName"}
Works.