Class MissingTileEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.MissingTileEvent
This event gets fired when a
TileState is missing from the tile state
registry while a chunk is loaded. The event can be used to replace missing
tile states with other ones in case a name changes or a property gets added.
Change newState to the new state you want to be loaded instead of
the old state with the name name. This event cannot be cancelled.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
world
-
chunk
-
id
public final int id -
name
-
newState
-
-
Constructor Details
-
MissingTileEvent
-