Klasse PlayerRemoveGrassEvent
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.PlayerRemoveGrassEvent
- Alle implementierten Schnittstellen:
Cancellable
Called when a player removes/cuts grass.
-
Feldübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Gets the grass id the player is going to destroy/remove.Von Klasse geerbte Methoden net.risingworld.api.events.player.world.PlayerWorldEditEvent
getBlockPositionX, getBlockPositionY, getBlockPositionZ, getChunkPositionX, getChunkPositionY, getChunkPositionZ, isCancelled, setCancelled
Von Klasse geerbte Methoden net.risingworld.api.events.player.PlayerEvent
getPlayer
-
Methodendetails
-
getGrassID
public int getGrassID()Gets the grass id the player is going to destroy/remove.- Gibt zurück:
- the old grass id.
-