Package com.mineplex.studio.events
Class ProjectileLaunchCalculationEvent
java.lang.Object
org.bukkit.event.Event
com.mineplex.studio.events.ProjectileLaunchCalculationEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionProjectileLaunchCalculationEvent(@NotNull Projectile projectile, float pitch, float yaw, float roll, float speed, float divergence, boolean postShootVelocityModification) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatstatic @NotNull HandlerListfloatgetPitch()floatgetRoll()floatgetSpeed()floatgetYaw()inthashCode()booleanvoidsetDivergence(float divergence) voidsetPitch(float pitch) voidsetPostShootVelocityModification(boolean postShootVelocityModification) voidsetPostShootVelocitySupplier(@NotNull Supplier<Vector> postShootVelocitySupplier) voidsetRoll(float roll) voidsetSpeed(float speed) voidsetYaw(float yaw) toString()Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
ProjectileLaunchCalculationEvent
public ProjectileLaunchCalculationEvent(@NotNull @NotNull Projectile projectile, float pitch, float yaw, float roll, float speed, float divergence, boolean postShootVelocityModification)
-
-
Method Details
-
getHandlerList
-
getShooter
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getProjectile
-
getPitch
public float getPitch() -
getYaw
public float getYaw() -
getRoll
public float getRoll() -
getSpeed
public float getSpeed() -
getDivergence
public float getDivergence() -
isPostShootVelocityModification
public boolean isPostShootVelocityModification() -
getPostShootVelocitySupplier
-
setPitch
public void setPitch(float pitch) -
setYaw
public void setYaw(float yaw) -
setRoll
public void setRoll(float roll) -
setSpeed
public void setSpeed(float speed) -
setDivergence
public void setDivergence(float divergence) -
setPostShootVelocityModification
public void setPostShootVelocityModification(boolean postShootVelocityModification) -
setPostShootVelocitySupplier
-
toString
-
equals
-
hashCode
public int hashCode()
-