Klasse 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
- Alle implementierten Schnittstellen:
Cancellable
Called when a player hits water with a tool (e.g pickaxe).
-
Feldübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGets the coordinates where the water surface was hit exactly.Von Klasse geerbte Methoden net.risingworld.api.events.player.world.PlayerWorldEditEvent
getBlockPositionX, getBlockPositionY, getBlockPositionZ, getChunkPositionX, getChunkPositionY, getChunkPositionZ, isCancelled, setCancelled
Von Klasse geerbte Methoden net.risingworld.api.events.player.PlayerEvent
getPlayer
-
Methodendetails
-
getHitPosition
Gets the coordinates where the water surface was hit exactly.- Gibt zurück:
- coordinates where the water surface was hit.
-