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 net.risingworld.api.events.player.world.PlayerWorldEditEvent
getBlockPositionX, getBlockPositionY, getBlockPositionZ, getChunkPositionX, getChunkPositionY, getChunkPositionZ, isCancelled, setCancelled
Methods inherited from class net.risingworld.api.events.player.PlayerEvent
getPlayer
-
Method Details
-
getHitPosition
Gets the coordinates where the water surface was hit exactly.- Returns:
- coordinates where the water surface was hit.
-