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
During the implementation of the LaunchProjectileEvent, I saw there were two EventContextKeys that can be used for the same event: THROWER and PROJECTILE_SOURCE.
What is the difference between these?
I don't see any to be honest. For me, PROJECTILE_SOURCE is more general than THROWER (which may imply a projectile launched by hand to me, but still a projectile), so if we need to remove one, I would remove THROWER.
The text was updated successfully, but these errors were encountered:
From what I see, PROJECTILE_SOURCE is only used here as the second parameter of the method handleCollideImpactEvent.
This method is called: MixinEntityThrowable with the argument this.getShooter() MixinEntityArrow with the argument getShooter() MixinEntityFireball with the argument this.getShooter()
During the implementation of the LaunchProjectileEvent, I saw there were two
EventContextKeys
that can be used for the same event:THROWER
andPROJECTILE_SOURCE
.What is the difference between these?
I don't see any to be honest. For me,
PROJECTILE_SOURCE
is more general thanTHROWER
(which may imply a projectile launched by hand to me, but still a projectile), so if we need to remove one, I would removeTHROWER
.The text was updated successfully, but these errors were encountered: