I'm trying to replace every instance of Bear Fur with Bear Dust whenever a Grizzly Bear dies from Crushing Wheels, but it doesn't appear to be modifying the drop at all. Could anyone help?
LootJS.modifiers(event => {
event.addEntityLootModifier("alexsmobs:grizzly_bear")
.matchDamageSource(source => {source.anyType("create:crush")})
.replaceLoot("alexsmobs:bear_fur", "alexsmobs:bear_dust")
})
In case it's needed:
- KubeJS is on 2001.6.5-build.16
- LootJS is on 1.20.1-2.12.0