Class PlayerHitWaterEvent
java.lang.Object
net.risingworld.api.events.Event
net.risingworld.api.events.player.PlayerEvent
net.risingworld.api.events.player.world.PlayerWorldEditEvent
net.risingworld.api.events.player.world.PlayerHitWaterEvent
- All Implemented Interfaces:
Cancellable
Called when a player hits water with a tool (e.g pickaxe).
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the coordinates where the water surface was hit exactly.Methods inherited from class PlayerWorldEditEvent
getBlockPositionX, getBlockPositionY, getBlockPositionZ, getChunkPositionX, getChunkPositionY, getChunkPositionZ, isCancelled, setCancelledMethods inherited from class PlayerEvent
getPlayer
-
Method Details
-
getHitPosition
Gets the coordinates where the water surface was hit exactly.- Returns:
- coordinates where the water surface was hit.
-