LootJS.modifiers((event) => { for (var { id, drop } of Object.values(global.ore_samples)) { if (drop == null) continue; event.addBlockLootModifier(id) .removeLoot(Ingredient.all) .addLoot(drop); } });