public final class MissingTileEvent extends Event
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.| Modifier and Type | Field and Description |
|---|---|
IChunk |
chunk |
int |
id |
ResourceName |
name |
TileState |
newState |
IWorld |
world |
| Constructor and Description |
|---|
MissingTileEvent(IWorld world,
IChunk chunk,
int id,
ResourceName name) |
public final IWorld world
public final IChunk chunk
public final int id
public final ResourceName name
public TileState newState
public MissingTileEvent(IWorld world, IChunk chunk, int id, ResourceName name)