Started by
DraganBor
on
Topic category: Help with Minecraft modding (Java Edition)
I have problem in making custom loot in chest. ( Mcreator 2021.1 1.12.2 plugin) I was doing this by guide . I did all correctly but unfortunately command for chest loottable: data merge block ~ ~-2 ~ {LootTable:"chest/test"}. But it doesn't work. I checked command a lot of times.
https://ibb.co/KjNz8GLw Thanks for reading!
you should check if your loottable namespace is either "mod" or "minecraft". For my own one to work it would be {LootTable:"dungeon_delver:chests/tloottable"} since I have the loottable set as mod.
(also you might just need to change chest to chests for it to work)
Velatus, thank you for the advice, I followed them: I changed the loot location to chests, edited the command /data merge block ~ ~-2 ~ {LootTable:"ruins_of_civilization:chests/loot"}, experimented with the mod and Minecraft, but unfortunately it didn't help. It's also strange that in the command block the command text was white, not colored, and there were no hints. I hope the problem is fixable. Thanks for your attention!
https://ibb.co/fd6JH35q Command Block
https://ibb.co/twCVdF9W LootTable
Try using /blockdata instead. Also found a old forum thread and video that might help.
Fourm Post
Minecraft Commands: /blockdata Tutorial Video
Hello, thank you for the advice, I used it, I changed the command start to /blockdata and it worked, the chest was empty, here is what came up: https://ibb.co/kgKqvXh3 .I did something wrong, I looked at your links, continued to experiment with mod and minecraft, checked the command many times: https://ibb.co/ccbhBMKw . I spent 3 hours looking for a solution to the problem but couldn't find it. I'm very close, please help me). Thank you for your attention!