loot tables dont work [SOLVED]

Started by ilovehamburgerz on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
loot tables dont work [SOLVED]
Sat, 01/03/2026 - 15:50 (edited)

Hi there. Im currently making a minecraft mod and in it it has a structure and i want loot tables in some of the chests of the structure. I did the loot tables, but when i executed the command (/give @s chest{BlockEntityTag:{LootTable:"mod:chest/lootable"}}) it dosent work. and neither does the other methods i found on youtube, such as this: https://www.youtube.com/watch?v=ZiKhQegDicM 

 

Can anyone help?

Edited by ilovehamburgerz on Sat, 01/03/2026 - 15:50
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The mod id you selected…
Fri, 01/02/2026 - 21:39

The mod id you selected while creating your workspace. Like minecraft itself uses minecraft:xxx, you selected a registry name, like ilovehamburgerz:xxx (example). Use that instead of "mod"

Example: ilovehamburgerz:chest/lootable