I’m trying to make it so if I break grass with any forge knife, it drops different seeds and crops with varying rarities. Would this be correct? And how do I keep adding more drops with a different rarity to the script?
LootJS.modifiers((event) => {
event
.addBlockLootModifier("minecraft:grass")
.randomChance(0.4)
.matchMainHand(Item.of("forge:tools/knife"))
.addLoot("minecraft:potato");
})```