Class SetStateEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.SetStateEvent
This event is fired when an
TileState is set into the world using
IChunk.setStateInner(TileLayer, int, int, TileState), meaning it will
also be called on any of the other helper methods like IChunkOrWorld.setState(TileLayer, int, int, TileState). Note that the x and y values are chunk-inner coordinates. Cancelling the event
will cause the tile not to be set into the world.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
chunk
-
state
-
layer
-
x
public int x -
y
public int y
-
-
Constructor Details
-
SetStateEvent
-