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 IntProp |
CHISEL_STATE
Determines which corners of a tile have been chiseled.
|
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 BoolProp |
HAS_LADDER
Determines if a tile has ladder 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.Tiles.LEAVESpublic static final IntProp TORCH_FACING
GameContent.Tiles.TORCH and GameContent.Tiles.GRASS_TORCHpublic static final IntProp TORCH_TIMER
GameContent.Tiles.GRASS_TORCHpublic static final EnumProp<StaticTileProps.LogType> LOG_VARIANT
GameContent.Tiles.LOGpublic static final IntProp SAPLING_GROWTH
GameContent.Tiles.SAPLINGpublic static final IntProp PLANT_GROWTH
TileTallPlantpublic static final IntProp SPINNING_STAGE
public static final BoolProp TOP_HALF
GameContent.Tiles.WOOD_DOOR, GameContent.Tiles.OLD_WOOD_DOOR and
GameContent.Tiles.CORNpublic static final BoolProp OPEN
GameContent.Tiles.WOOD_DOOR
and GameContent.Tiles.OLD_WOOD_DOORpublic static final BoolProp FACING_RIGHT
GameContent.Tiles.WOOD_DOOR and GameContent.Tiles.OLD_WOOD_DOORpublic static final BoolProp HAS_CANISTER
GameContent.Tiles.COPPERpublic static final IntProp STARDROP_GROWTH
GameContent.Tiles.STARDROPpublic static final BoolProp HAS_LADDER
GameContent.Tiles.PLATFORMpublic static final IntProp CHISEL_STATE