Loot tables dont work right

Started by Butterkat on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Loot tables dont work right

I want to use the loot table for the ruined portal in my custom structure, and im using the /loot command to do this but it doesnt work right. Is there any way to have the loot generate different in each structure? Currently it always has the same stuff in the same order.

 

(if possible, is there also a way to have it show up in random slots in the chest instead of side by side?)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hm, can you say, or show…
Wed, 08/21/2024 - 16:23

Hm, can you say, or show what items must be in your loot?

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Its not a custom loot table,…
Wed, 08/21/2024 - 21:39

Its not a custom loot table, Im trying to use the one from the ruined portal chest

 

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just make new loot table…
Sun, 08/25/2024 - 16:17

Just make new loot table with similiar loot just like in ruined portal. It will work how you wanted.

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use this command: /give @s…
Mon, 09/16/2024 - 20:06

use this command: /give @s chest{BlockEntityTag:{LootTable:"minecraft:chests/loottablename"}}

then place it down but don't open the chest. If you open the chest it will fix the items in the chest, which is probably what is causing your problem.

then save your structure file using a structure block.