Started by
Butterkat
on
Topic category: Help with Minecraft modding (Java Edition)
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?)
Hm, can you say, or show what items must be in your loot?
Its not a custom loot table, Im trying to use the one from the ruined portal chest
Just make new loot table with similiar loot just like in ruined portal. It will work how you wanted.
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.