Class EntityPotentSulfurLaunchEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
io.papermc.paper.event.entity.EntityPotentSulfurLaunchEvent
Called when an entity is launched upward by a Potent Sulfur geyser.
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class EntityEvent
entity -
Constructor Summary
ConstructorsConstructorDescriptionEntityPotentSulfurLaunchEvent(Entity entity, Block sulfurBlock, Location sourceLocation, Vector launchVelocity) -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListGets the velocity that will be added to the entity.Gets the location where the geyser exits the water column.Gets the Potent Sulfur block.Methods inherited from class EntityEvent
getEntity, getEntityTypeMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
EntityPotentSulfurLaunchEvent
-
-
Method Details
-
getSulfurBlock
Gets the Potent Sulfur block. -
getSourceLocation
Gets the location where the geyser exits the water column. -
getLaunchVelocity
Gets the velocity that will be added to the entity.
This value is read-only, changes made to it will not have any effect on the final launch velocity. -
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-