Package de.ellpeck.rockbottom.api
Class StaticTileProps
java.lang.Object
de.ellpeck.rockbottom.api.StaticTileProps
A list of static
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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAn enum of log types that are used for theLOG_VARIANTproperty. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IntPropDetermines which corners of a tile have been chiseled.Determines the colors of the cover and the pillow of a bed.static final BoolPropDetermines if a tile is facing right (rather than left).static final BoolPropDetermines if a tile has a copper canister inside of it.static final BoolPropDetermines if a tile has ladder inside of it.static final EnumProp<StaticTileProps.LogType>Determines which type of variation a log tile is.static final BoolPropDetermines if a tile is naturally generated or placed manually.static final BoolPropDetermines if a tile is opened.static final IntPropDetermines how far grown a plant is.static final IntPropDetermines how far grown a sapling is.static final IntPropDetermines how much progress a spinning wheel has made.static final IntPropDetermines how far grown the stardrop is.static final BoolPropDetermines if a tile is the top or bottom half of a tile.static final IntPropDetermines which direction a torch is facing.static final IntPropDetermines how long it will take for a torch to turn off. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NATURAL
Determines if a tile is naturally generated or placed manually. Used by:GameContent.Tiles.LEAVES -
TORCH_FACING
Determines which direction a torch is facing. Used by:GameContent.Tiles.TORCH,GameContent.Tiles.GRASS_TORCH -
TORCH_TIMER
Determines how long it will take for a torch to turn off. Used by:GameContent.Tiles.TORCH,GameContent.Tiles.GRASS_TORCH -
LOG_VARIANT
Determines which type of variation a log tile is. Used by:GameContent.Tiles.LOG -
SAPLING_GROWTH
Determines how far grown a sapling is. Used by:GameContent.Tiles.SAPLING -
PLANT_GROWTH
Determines how far grown a plant is. Used by:TileTallPlant -
SPINNING_STAGE
Determines how much progress a spinning wheel has made. Used by:GameContent.Tiles.SPINNING_WHEEL -
TOP_HALF
Determines if a tile is the top or bottom half of a tile. Used by:GameContent.Tiles.WOOD_DOOR,GameContent.Tiles.OLD_WOOD_DOOR,TileTallPlant -
OPEN
Determines if a tile is opened. Used by:GameContent.Tiles.WOOD_DOOR,GameContent.Tiles.OLD_WOOD_DOOR -
FACING_RIGHT
Determines if a tile is facing right (rather than left). Used by:GameContent.Tiles.WOOD_DOOR,GameContent.Tiles.OLD_WOOD_DOOR,GameContent.Tiles.BED -
HAS_CANISTER
Determines if a tile has a copper canister inside of it. Used by:GameContent.Tiles.COPPER -
STARDROP_GROWTH
Determines how far grown the stardrop is. Used by:GameContent.Tiles.STARDROP -
HAS_LADDER
Determines if a tile has ladder inside of it. Used by:GameContent.Tiles.PLATFORM -
CHISEL_STATE
Determines which corners of a tile have been chiseled. The chiseled corner is represented by the bit of the 16 different values. Bit 0 - Top Left Bit 1 - Top Right Bit 2 - Bottom Left Bit 3 - Bottom Right Used by: Tile which areTile.isChiselable() -
COVER_COLOR
Determines the colors of the cover and the pillow of a bed. Used by:GameContent.Tiles.BED -
PILLOW_COLOR
-
-
Constructor Details
-
StaticTileProps
public StaticTileProps()
-