#Swap vanilla chests

1 messages · Page 1 of 1 (latest)

inland capeBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1725270545:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

spiral totem
#

You can click on presets to add your item to the vanilla one

vague inlet
#

If there's a specific loot table you want to give each one, you can just replace each chest loot table with a reference to that loot table

spiral totem
#

Then you need to place the file in the right location

lyric viper
#

Wait. I forget to mention. The reason I want to replace the whole chests is couse the modded ones needs keys.

spiral totem
lyric viper
#

And I can add the key to specific mobs' loottables.

lyric viper
quasi lichen
#

what do you want to replace the chests with?

#

If you want to replace chests in minecraft structures with locked chests (I belive chests can have nbt data that locks them) then yes you could make nbt structure files that have said locked chests saved in them.

An easier way to do it might be to add a processor to the structures template pool that replaces chests with your specific locked chest.

Both these methods will only work for newer structures that arn't hard coded. Older ones like fortresses and strongholds are hard coded and don't have nbt files to edit. You could try to recreate them using structure blocks but it's a lot of work

lyric viper
#

Hmm. Okay I think I can skip hardcoded ones. But I want to replace every replacable with the ones from the mod I linked. I edited the original post with the missing infos.
Im using 1.20.6 and I want to replace original loot chests with the loot crates from the mod couse this way players needs to get keys for the chests to open them.
So what would be the easiest or more logical step to do?

Sadly I got some things to do and I will arrive home like 5 hours later.
And thank you very much for the help so far @quasi lichen

lyric viper
#

Okay. Im home now. I try the nbt stuff and see if I can actually do something.

quasi lichen
#

You can't just "replace" the chests with modded ones, mods and datapacks are different