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, setCancelledMethods inherited from class net.risingworld.api.events.player.PlayerEvent
getPlayerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.risingworld.api.events.Cancellable
isCancelled, setCancelled
-
Method Details
-
getPlant
Description copied from class:PlayerVegetationEventGets the plant.- Overrides:
getPlantin classPlayerVegetationEvent- Returns:
- the plant element.
-