Adding loot chest to structure

Started by EightLight89620 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Jan 2021
Points:
526

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
Adding loot chest to structure

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?

Active 1 year ago
Joined Jul 2022
Points:
279

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
I do! Go to the world you…
Fri, 07/22/2022 - 23:25

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.