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 TypeMethodDescriptionint
Gets the id of the water block the player is going to destroy.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
-
getWaterID
public int getWaterID()Gets the id of the water block the player is going to destroy.- Returns:
- the old water block id.
-