Klasse PlayerRemoveWaterEvent
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.PlayerRemoveWaterEvent
- Alle implementierten Schnittstellen:
Cancellable
Called when a player removes water.
-
Feldübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Gets the id of the water block the player is going to destroy.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
-
getWaterID
public int getWaterID()Gets the id of the water block the player is going to destroy.- Gibt zurück:
- the old water block id.
-