I saw this on a server i was playing on and wanted to implement it on to my realm
-
4Possible duplicate of How do I give a player an item with custom properties?– ppperyCommented Jul 25, 2022 at 19:26
-
@pppery I would say it's a duplicate of How do I get a block with data to place myself?, since I believe OP is asking about obtaining a filled container.– slinkCommented Jul 30, 2022 at 23:26
-
Agreed, that would definitely be a better duplicate. Probably not worth bothering a moderator to fix the problem, though.– ppperyCommented Jul 30, 2022 at 23:43
Add a comment
|
1 Answer
On java, you would simply merge a "LootTable" string with the data: "minecraft:chests/end_city_treasure" to the chest in the structure NBT.
I am not familiar with bedrock datapacks but if they use nbt structures I assume the answer is similar.