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 |
An enum of log types that are used for the
LOG_VARIANT
property. |
| Modifier and Type | Field | Description |
|---|---|---|
static BoolProp |
FACING_RIGHT |
Determines if a tile is facing right (rather than left).
|
static BoolProp |
HAS_CANISTER |
Determines if a tile has a copper canister inside of it.
|
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.
|
static IntProp |
TORCH_TIMER |
Determines how long it will take for a torch to turn off.
|
| Constructor | Description |
|---|---|
StaticTileProps() |
public static final BoolProp NATURAL
GameContent.TILE_LEAVESpublic static final IntProp TORCH_FACING
GameContent.TILE_TORCH and GameContent.TILE_GRASS_TORCHpublic static final IntProp TORCH_TIMER
GameContent.TILE_GRASS_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_OLDpublic static final BoolProp HAS_CANISTER
GameContent.TILE_COPPER