Why definite command don't work in command block

Started by DraganBor on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why definite command don't work in command block

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. screenshot

https://ibb.co/KjNz8GLw      Thanks for reading!

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you should check if your…
Mon, 08/18/2025 - 16:46

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)

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Velatus, thank you for the…
Mon, 08/18/2025 - 19:11

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