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 and Description |
|---|---|
static class |
StaticTileProps.LogType
An enum of log types that are used for the
LOG_VARIANT
property. |
| Modifier and Type | Field and Description |
|---|---|
static BoolProp |
ALIVE
Determines if a plant is considered alive.
|
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 |
PLANT_GROWTH
Determines how far grown a plant is.
|
static IntProp |
SAPLING_GROWTH
Determines how far grown a sapling is.
|
static IntProp |
SPINNING_STAGE
Determines how much progress a spinning wheel has made.
|
static IntProp |
STARDROP_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 and 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 IntProp PLANT_GROWTH
TileTallPlantpublic static final BoolProp ALIVE
GameContent.TILE_COTTONpublic static final IntProp SPINNING_STAGE
public static final BoolProp TOP_HALF
GameContent.TILE_WOOD_DOOR, GameContent.TILE_WOOD_DOOR_OLD and
GameContent.TILE_CORNpublic 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_COPPERpublic static final IntProp STARDROP_GROWTH
GameContent.TILE_STARDROP