Klasse PlayerDestroyTerrainEvent
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.PlayerDestroyTerrainEvent
- Alle implementierten Schnittstellen:
Cancellable
Called when a player digs a hole, i.e destroys terrain.
-
Feldübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Gets the terrain id the player is going to destroy.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
-
getTerrainID
public int getTerrainID()Gets the terrain id the player is going to destroy.- Gibt zurück:
- the old terrain id.
-