Class PlayerRemoveConstructionEvent
java.lang.Object
net.risingworld.api.events.Event
net.risingworld.api.events.player.PlayerEvent
net.risingworld.api.events.player.world.PlayerConstructionEvent
net.risingworld.api.events.player.world.PlayerRemoveConstructionEvent
- All Implemented Interfaces:
Cancellable
Called when a player removes a construction element without destroying it, i.e.
by picking it up with a sledgehammer.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the construction element.Methods inherited from class net.risingworld.api.events.player.world.PlayerConstructionEvent
getChunkPositionX, getChunkPositionY, getChunkPositionZ, getConstructionDefinition, getGlobalID, getTexture, getTypeID, isCancelled, setCancelled
Methods inherited from class net.risingworld.api.events.player.PlayerEvent
getPlayer
-
Method Details
-
getConstructionElement
Description copied from class:PlayerConstructionEvent
Gets the construction element.- Overrides:
getConstructionElement
in classPlayerConstructionEvent
- Returns:
- the construction element.
-