#Viewing and modifying loot tables and adding them to structures.

7 messages · Page 1 of 1 (latest)

main fulcrumBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

lost lodge
median kilnBOT
#

Paste version of lootTables.json from @lost lodge

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"});

});