Class PlayerDestroyObjectEvent
java.lang.Object
net.risingworld.api.events.Event
net.risingworld.api.events.player.PlayerEvent
net.risingworld.api.events.player.world.PlayerObjectEvent
net.risingworld.api.events.player.world.PlayerDestroyObjectEvent
- All Implemented Interfaces:
Cancellable
Called when a player destroys an object (furniture, doors, lamps etc). It's
possible to determine if it is a special object (e.g a chest or a furnace) by
using the ObjectDefinitions.
-
Field Summary
-
Method Summary
Methods inherited from class net.risingworld.api.events.player.world.PlayerObjectEvent
getChunkPositionX, getChunkPositionY, getChunkPositionZ, getGlobalID, getObjectDefinition, getTypeID, isCancelled, setCancelled
Methods inherited from class net.risingworld.api.events.player.PlayerEvent
getPlayer
-
Method Details
-
getObject
Description copied from class:PlayerObjectEvent
Gets the object element.- Overrides:
getObject
in classPlayerObjectEvent
- Returns:
- the object element.
-