Started by
EightLight89620
on
Topic category: Help with Minecraft modding (Java Edition)
I want to add like a randomised loot chest into my generated structure. I have like 4 chest and I want all of them have randomised loot chest with like same as desert temple loot chests. Anyone know any solutions for this?
I do! Go to the world you built your structure in and then give yourself a command block. Then put it where you want the chest to be. Type /setblock ~ ~ ~ chest{LootTable:"chests/desert_pyramid"} replace into the command block and activate it. Do not open the chest or the loot will not be randomized when the structure is naturally generated.