You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this event is to allow creators to cancel or alter the amount of knockback that is applied by an explosion. A specific use-case that I am experiencing is that I want to prevent knockback from being applied to players when a grenade from my mod explodes.
The knockback is applied via the Explosion instance itself, within Explosion.java, specifically in the explode() method.
There is already an ExplosionEvent class, which holds a sub-class for the explosion detonation. Perhaps a new Explosion.Knockback event could exist within this class?
The text was updated successfully, but these errors were encountered:
The goal of this event is to allow creators to cancel or alter the amount of knockback that is applied by an explosion. A specific use-case that I am experiencing is that I want to prevent knockback from being applied to players when a grenade from my mod explodes.
The knockback is applied via the
Explosion
instance itself, withinExplosion.java
, specifically in theexplode()
method.There is already an ExplosionEvent class, which holds a sub-class for the explosion detonation. Perhaps a new
Explosion.Knockback
event could exist within this class?The text was updated successfully, but these errors were encountered: