LootTable in custom structure

Started by Rimuking on

Topic category: Help with MCreator software

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
LootTable in custom structure

Hey, does anyone know how to put a chest with a loot table in a custom structure? In 2024.4
I already tried with the /data command but the coffre remains empty

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can also /give yourself…
Thu, 10/23/2025 - 14:24

you can also /give yourself a chest with the loottable or /setblock it but you have to not open it after you place it! So you should place it and then without opening it save the structure. You can use https://mcstacker.net/ to generate commands

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is this is correct ?…
Thu, 10/23/2025 - 14:50

Is this is correct ?
/setblock ~ ~ ~ chest[facing=south]{LootTable:"bloodhorrorcraftreborn:chests/ruins_loot"} replace

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
looks right, does it send an…
Thu, 10/23/2025 - 14:52

looks right, does it send an error in chat when you run it?

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The chest is empty 
Thu, 10/23/2025 - 15:03

The chest is empty 

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
does your mod specify the…
Thu, 10/23/2025 - 15:06

does your mod specify the bloodhorrorcraftreborn:chests/ruins_loot loot table?

Can you send a screenshot of the element?