2

Vault Custom Loot Table in Minecraft 1.21 (solved)vpn_key

PigGold16's Avatar PigGold162/20/24 4:10 am
2 emeralds 490 7
5/12/2024 6:05 pm
FoxlyticalXD's Avatar FoxlyticalXD
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.
Posted by PigGold16's Avatar
PigGold16
Level 50 : Grandmaster Pig
47

Create an account or sign in to comment.

7

FoxlyticalXD
05/12/2024 6:05 pm
Level 16 : Journeyman Artist
FoxlyticalXD's Avatar
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.
2
Papa Enny
02/22/2024 2:41 pm
Level 57 : Grandmaster Scapegoat
Papa Enny's Avatar
is there a command called /loot?
2
PigGold16
02/23/2024 12:46 am
Level 50 : Grandmaster Pig
PigGold16's Avatar
I tried /loot but vault is not a container like a chest
2
Papa Enny
02/23/2024 7:54 am
Level 57 : Grandmaster Scapegoat
Papa Enny's Avatar
interesting, so it is a spawner, yet with a loot
2
User5029126G
02/22/2024 2:36 pm
Level 1 : New Miner
User5029126G's Avatar
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)
3
PigGold16
03/26/2024 2:37 am
Level 50 : Grandmaster Pig
history
PigGold16's Avatar
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'}}]
1
PigGold16
02/23/2024 12:47 am
Level 50 : Grandmaster Pig
PigGold16's Avatar
Thanks
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome