#Viewing and modifying loot tables and adding them to structures.
7 messages · Page 1 of 1 (latest)
this is what the code generates
Paste version of lootTables.json from @lost lodge
ok so i have been able to modify the end city chest loot table and managed to insert an item, but now, eveything in the chest has the NBT of that item
LootJS.modifiers((event) => {
// by id
event
.addLootTableModifier("minecraft:chests/end_city_treasure")
.randomChance(1)
.addLoot("tacz:modern_kinetic_gun").addNBT({GunCurrentAmmoCount:31,GunFireMode:"AUTO",GunId:"tacz:rpk"});
});