2
Vault Custom Loot Table in Minecraft 1.21 (solved)vpn_key
I want to create map in minecraft with custom vaults but i don't know how to add custom loot table to the vault. I've already tried to use /data command but I noticed that it probably can't be done this way. Can someone help me in coments please.
Create an account or sign in to comment.
7
Trying to figure out a similar thing with custom loot tables I made using a datapack, still can't get the damn thing to work lol. Open to suggestions for making my life easier, also I kinda suck at datapacks now all of a sudden because Mojang decided it was a good idea to completely change how things work so now I have to relearn everything.
is there a command called /loot?
you do it like this
/give @p vault{BlockEntityTag:{config:{loot_table:"entities/pig"}}} if u want porkchop in it (idk how to add multiple only one)
Somehow I made it work on the latest snapshot (I realy don't know why this work)
/give @p minecraft:vault[ minecraft:block_entity_data={id: 'minecraft:vault', config: {loot_table: 'minecraft:entities/pig'}}]
Thanks