There's an issue where power types such as modify_projectile_damage, modify_damage_taken, etc. does not work for projectiles like snowballs, ender pearls and llama spit. This PR fixes that issue by implementing how the damage value is modified from the LivingEntityMixin class to the PlayerEntityMixin class.
I had to do an exception for instances of PlayerEntity in the LivingEntityMixin class to avoid applying the modifier twice. This implementation should still work for arrows and tridents, which used to have their respective mixin classes before
There's an issue where power types such as
modify_projectile_damage
,modify_damage_taken
, etc. does not work for projectiles like snowballs, ender pearls and llama spit. This PR fixes that issue by implementing how the damage value is modified from theLivingEntityMixin
class to thePlayerEntityMixin
class.I had to do an exception for instances of
PlayerEntity
in theLivingEntityMixin
class to avoid applying the modifier twice. This implementation should still work for arrows and tridents, which used to have their respective mixin classes before