#Changing Block Drops
6 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
On serverEvents:
LootJS.modifiers((event) => {
event.addBlockLootModifier("immersiveengineering:ore_lead").replaceLoot("immersiveengineering:raw_lead", "tfmg:lead_raw", true); // to replace one thing with another
event.addBlockLootModifier("railcraft:sulfur_ore").addLoot("scguns:sulfur_chunk").limitCount([2, 4], [4, 16]); // to add loot and add count
// you can also append .withChance(a) where a is a float between 0 and 1 to give the drop a chance
});
also first is the block, and in replace the first is the old loot and the second is the replacement
ok. thank you.
Ticket closed!