Class 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
- All Implemented Interfaces:
Cancellable
Called when a player removes water.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionintGets the id of the water block the player is going to destroy.Methods inherited from class PlayerWorldEditEvent
getBlockPositionX, getBlockPositionY, getBlockPositionZ, getChunkPositionX, getChunkPositionY, getChunkPositionZ, isCancelled, setCancelledMethods inherited from class PlayerEvent
getPlayer
-
Method Details
-
getWaterID
public int getWaterID()Gets the id of the water block the player is going to destroy.- Returns:
- the old water block id.
-