public final class StaticTileProps
extends java.lang.Object
TileProp objects that are used for certain tiles
from the game. Use these to interact with vanilla tiles from GameContent to see their values. Every prop in here has a list of tiles that
it applies to.| Modifier and Type | Class | Description |
|---|---|---|
static class |
StaticTileProps.LogType |
| Modifier and Type | Field | Description |
|---|---|---|
static BoolProp |
FACING_RIGHT |
Determines if a tile is facing right (rather than left).
|
static EnumProp<StaticTileProps.LogType> |
LOG_VARIANT |
Determines which type of variation a log tile is.
|
static BoolProp |
NATURAL |
Determines if a tile is naturally generated or placed manually.
|
static BoolProp |
OPEN |
Determines if a tile is opened.
|
static IntProp |
SAPLING_GROWTH |
Determines how far grown a sapling is.
|
static BoolProp |
TOP_HALF |
Determines if a tile is the top or bottom half of a door.
|
static IntProp |
TORCH_FACING |
Determines which direction a torch is facing.
|
| Constructor | Description |
|---|---|
StaticTileProps() |
public static final BoolProp NATURAL
GameContent.TILE_LEAVESpublic static final IntProp TORCH_FACING
GameContent.TILE_TORCHpublic static final EnumProp<StaticTileProps.LogType> LOG_VARIANT
GameContent.TILE_LOGpublic static final IntProp SAPLING_GROWTH
GameContent.TILE_SAPLINGpublic static final BoolProp TOP_HALF
GameContent.TILE_WOOD_DOOR and GameContent.TILE_WOOD_DOOR_OLDpublic static final BoolProp OPEN
GameContent.TILE_WOOD_DOOR
and GameContent.TILE_WOOD_DOOR_OLDpublic static final BoolProp FACING_RIGHT
GameContent.TILE_WOOD_DOOR and GameContent.TILE_WOOD_DOOR_OLD