Class PlayerDestroyVegetationEvent
java.lang.Object
net.risingworld.api.events.Event
net.risingworld.api.events.player.PlayerEvent
net.risingworld.api.events.player.world.PlayerVegetationEvent
net.risingworld.api.events.player.world.PlayerDestroyVegetationEvent
- All Implemented Interfaces:
Cancellable
public final class PlayerDestroyVegetationEvent
extends PlayerVegetationEvent
implements Cancellable
Called when a player destroys a plant (e.g cuts a tree).
-
Field Summary
-
Method Summary
Methods inherited from class net.risingworld.api.events.player.world.PlayerVegetationEvent
getChunkPositionX, getChunkPositionY, getChunkPositionZ, getGlobalID, getPlantDefinition, getTypeID, isCancelled, setCancelled
Methods inherited from class net.risingworld.api.events.player.PlayerEvent
getPlayer
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.risingworld.api.events.Cancellable
isCancelled, setCancelled
-
Method Details
-
getPlant
Description copied from class:PlayerVegetationEvent
Gets the plant.- Overrides:
getPlant
in classPlayerVegetationEvent
- Returns:
- the plant element.
-