public class Properties extends Object
Modifier and Type | Field and Description |
---|---|
static IntProperty |
AGE_1
A property that specifies the age of a block on a scale of 0 to 1.
|
static IntProperty |
AGE_15
A property that specifies the age of a block on a scale of 0 to 15.
|
static IntProperty |
AGE_2
A property that specifies the age of a block on a scale of 0 to 2.
|
static IntProperty |
AGE_25
A property that specifies the age of a block on a scale of 0 to 25.
|
static IntProperty |
AGE_3
A property that specifies the age of a block on a scale of 0 to 3.
|
static IntProperty |
AGE_5
A property that specifies the age of a block on a scale of 0 to 5.
|
static IntProperty |
AGE_7
A property that specifies the age of a block on a scale of 0 to 7.
|
static BooleanProperty |
ATTACHED
A property that specifies if a tripwire is attached to a tripwire hook.
|
static EnumProperty<Attachment> |
ATTACHMENT
A property that specifies how a bell is attached to a block.
|
static EnumProperty<Direction.Axis> |
AXIS
A property that specifies the axis a block is oriented to.
|
static EnumProperty<BambooLeaves> |
BAMBOO_LEAVES
A property that specifies the size of bamboo leaves.
|
static EnumProperty<BedPart> |
BED_PART
A property that specifies what part of a bed a block is.
|
static IntProperty |
BITES
A property that specifies the bites taken out of a cake.
|
static EnumProperty<BlockHalf> |
BLOCK_HALF
A property that specifies if a block is the upper or lower half.
|
static BooleanProperty |
BOTTOM
A property that specifies if a scaffolding block is bottom of a floating segment.
|
static IntProperty |
CHARGES
A property that specifies the amount of charges a respawn anchor has.
|
static EnumProperty<ChestType> |
CHEST_TYPE
A property that specifies what type of chest a block is.
|
static EnumProperty<ComparatorMode> |
COMPARATOR_MODE
A property that specifies the mode a comparator is set to.
|
static BooleanProperty |
CONDITIONAL
A property that specifies if a command block is conditional.
|
static IntProperty |
DELAY
A property that specifies the delay a repeater will apply.
|
static BooleanProperty |
DISARMED
A property that specifies if a tripwire has been disarmed.
|
static IntProperty |
DISTANCE_0_7
A property that specifies the overhang distance of a scaffolding.
|
static IntProperty |
DISTANCE_1_7
A property that specifies the overhang distance of a block on a scale of 1-7.
|
static EnumProperty<DoorHinge> |
DOOR_HINGE
A property that specifies whether a door's hinge is to the right or left.
|
static EnumProperty<DoubleBlockHalf> |
DOUBLE_BLOCK_HALF
A property that specifies whether a double height block is the upper or lower half.
|
static BooleanProperty |
DOWN
A property that specifies if this block is connected to another block from the below.
|
static BooleanProperty |
DRAG
A property that specifies if a bubble column should drag entities downwards.
|
static BooleanProperty |
EAST
A property that specifies if this block is connected to another block from the east.
|
static EnumProperty<WallShape> |
EAST_WALL_SHAPE
A property that specifies how a wall extends from the center post to the east.
|
static EnumProperty<WireConnection> |
EAST_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the east.
|
static IntProperty |
EGGS
A property that specifies the amount of eggs in a turtle egg block.
|
static BooleanProperty |
ENABLED
A property that specifies whether a hopper is enabled.
|
static BooleanProperty |
EXTENDED
A property that specifies if a piston is extended.
|
static BooleanProperty |
EYE
A property that specifies if an end portal frame contains an eye of ender.
|
static DirectionProperty |
FACING
A property that specifies the direction a block is facing.
|
static BooleanProperty |
FALLING
A property that specifies if a fluid is falling.
|
static BooleanProperty |
HANGING
A property that specifies if a lantern is hanging.
|
static BooleanProperty |
HAS_BOOK
A property that specifies if a lectern has a book.
|
static BooleanProperty |
HAS_BOTTLE_0
A property that specifies if a brewing stand has a bottle in slot 0.
|
static BooleanProperty |
HAS_BOTTLE_1
A property that specifies if a brewing stand has a bottle in slot 1.
|
static BooleanProperty |
HAS_BOTTLE_2
A property that specifies if a brewing stand has a bottle in slot 2.
|
static BooleanProperty |
HAS_RECORD
A property that specifies if a jukebox has a record.
|
static IntProperty |
HATCH
A property that specifies how close an egg is hatching.
|
static IntProperty |
HONEY_LEVEL
A property that specifies the honey level of a beehive.
|
static DirectionProperty |
HOPPER_FACING
A property that specifies the direction a hopper's output faces.
|
static EnumProperty<Direction.Axis> |
HORIZONTAL_AXIS
A property that specifies the axis a block is oriented to.
|
static DirectionProperty |
HORIZONTAL_FACING
A property that specifies the direction a block is facing.
|
static BooleanProperty |
IN_WALL
A property that specifies if a fence gate is attached to a wall.
|
static EnumProperty<Instrument> |
INSTRUMENT
A property that specifies what instrument a note block will play.
|
static BooleanProperty |
INVERTED
A property that specifies if a daylight sensor's output is inverted.
|
static IntProperty |
LAYERS
A property that specifies how many layers of snow are in a snow block.
|
static IntProperty |
LEVEL_1_8
A property that specifies the height of a fluid on a scale of 1 to 8.
|
static IntProperty |
LEVEL_15 |
static IntProperty |
LEVEL_3
A property that specifies how many levels of water there are in a cauldron.
|
static IntProperty |
LEVEL_8
A property that specifies the level of a composter.
|
static BooleanProperty |
LIT
A property that specifies if a block is lit.
|
static BooleanProperty |
LOCKED
A property that specifies if a repeater is locked.
|
static IntProperty |
MOISTURE
A property that specifies the moisture of farmland.
|
static BooleanProperty |
NORTH
A property that specifies if this block is connected to another block from the north.
|
static EnumProperty<WallShape> |
NORTH_WALL_SHAPE
A property that specifies how a wall extends from the center post to the north.
|
static EnumProperty<WireConnection> |
NORTH_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the north.
|
static IntProperty |
NOTE
A property that specifies the pitch of a note block.
|
static BooleanProperty |
OCCUPIED
A property that specifies if a bed is occupied.
|
static BooleanProperty |
OPEN
A property that specifies if a block is open.
|
static EnumProperty<JigsawOrientation> |
ORIENTATION
A property that specifies the orientation of a jigsaw.
|
static BooleanProperty |
PERSISTENT
A property that specifies if a block is persistent.
|
static IntProperty |
PICKLES
A property that specifies how many pickles are in a sea pickle.
|
static EnumProperty<PistonType> |
PISTON_TYPE
A property that specifies the type of a piston.
|
static IntProperty |
POWER
A property that specifies the redstone power of a block.
|
static BooleanProperty |
POWERED
A property that specifies if a block is being powered to produce or emit redstone signal.
|
static EnumProperty<RailShape> |
RAIL_SHAPE
A property that specifies the two directions a rail connects to.
|
static IntProperty |
ROTATION
A property that specifies the rotation of a block on a 0 to 15 scale.
|
static BooleanProperty |
SHORT
A property that specifies if a piston head is shorter than normal.
|
static BooleanProperty |
SIGNAL_FIRE
A property that specifies if a campfire's smoke should be taller.
|
static EnumProperty<SlabType> |
SLAB_TYPE
A property that specifies the type of slab.
|
static BooleanProperty |
SNOWY
A property that specifies if a block is covered in snow.
|
static BooleanProperty |
SOUTH
A property that specifies if this block is connected to another block from the south.
|
static EnumProperty<WallShape> |
SOUTH_WALL_SHAPE
A property that specifies how a wall extends from the center post to the south.
|
static EnumProperty<WireConnection> |
SOUTH_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the south.
|
static IntProperty |
STAGE
A property that specifies a growth stage on a scale of 0 to 1.
|
static EnumProperty<StairShape> |
STAIR_SHAPE
A property that specifies the shape of a stair block.
|
static EnumProperty<RailShape> |
STRAIGHT_RAIL_SHAPE
A property that specifies the two directions a rail connects to.
|
static EnumProperty<StructureBlockMode> |
STRUCTURE_BLOCK_MODE
A property that specifies the mode of a structure block.
|
static BooleanProperty |
TRIGGERED
A property that specifies if a dispenser is activated.
|
static BooleanProperty |
UNSTABLE
A property that specifies if TNT is unstable.
|
static BooleanProperty |
UP
A property that specifies if this block is connected to another block from the top.
|
static BooleanProperty |
VINE_END |
static EnumProperty<WallMountLocation> |
WALL_MOUNT_LOCATION
A property that specifies the type of wall a block is attached to.
|
static BooleanProperty |
WATERLOGGED
A property that specifies if a block is waterlogged.
|
static BooleanProperty |
WEST
A property that specifies if this block is connected to another block from the west.
|
static EnumProperty<WallShape> |
WEST_WALL_SHAPE
A property that specifies how a wall extends from the center post to the west.
|
static EnumProperty<WireConnection> |
WEST_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the west.
|
Constructor and Description |
---|
Properties() |
public static final BooleanProperty ATTACHED
public static final BooleanProperty BOTTOM
public static final BooleanProperty CONDITIONAL
public static final BooleanProperty DISARMED
public static final BooleanProperty DRAG
public static final BooleanProperty ENABLED
public static final BooleanProperty EXTENDED
public static final BooleanProperty EYE
public static final BooleanProperty FALLING
public static final BooleanProperty HANGING
public static final BooleanProperty HAS_BOTTLE_0
public static final BooleanProperty HAS_BOTTLE_1
public static final BooleanProperty HAS_BOTTLE_2
public static final BooleanProperty HAS_RECORD
public static final BooleanProperty HAS_BOOK
public static final BooleanProperty INVERTED
public static final BooleanProperty IN_WALL
This lowers the fence gate by 3 pixels to attach more cleanly to a wall.
public static final BooleanProperty LIT
public static final BooleanProperty LOCKED
public static final BooleanProperty OCCUPIED
public static final BooleanProperty OPEN
This property is normally used for doors, trapdoors and fence gates but is also used by barrels.
public static final BooleanProperty PERSISTENT
In vanilla, this is used to specify whether leaves should disappear when the logs are removed.
public static final BooleanProperty POWERED
public static final BooleanProperty SHORT
public static final BooleanProperty SIGNAL_FIRE
This occurs when a hay bale is placed under the campfire.
public static final BooleanProperty SNOWY
public static final BooleanProperty TRIGGERED
public static final BooleanProperty UNSTABLE
In vanilla, if TNT is unstable, it will ignite when broken.
public static final BooleanProperty WATERLOGGED
public static final BooleanProperty VINE_END
public static final EnumProperty<Direction.Axis> HORIZONTAL_AXIS
This property only allows a block to be oriented to the X and Z axes.
public static final EnumProperty<Direction.Axis> AXIS
public static final BooleanProperty UP
public static final BooleanProperty DOWN
public static final BooleanProperty NORTH
public static final BooleanProperty EAST
public static final BooleanProperty SOUTH
public static final BooleanProperty WEST
public static final DirectionProperty FACING
public static final DirectionProperty HOPPER_FACING
This property does not allow the hopper's output to face upwards.
public static final DirectionProperty HORIZONTAL_FACING
This property only allows a block to face in one of the cardinal directions (north, south, east and west).
public static final EnumProperty<JigsawOrientation> ORIENTATION
public static final EnumProperty<WallMountLocation> WALL_MOUNT_LOCATION
public static final EnumProperty<Attachment> ATTACHMENT
public static final EnumProperty<WallShape> EAST_WALL_SHAPE
public static final EnumProperty<WallShape> NORTH_WALL_SHAPE
public static final EnumProperty<WallShape> SOUTH_WALL_SHAPE
public static final EnumProperty<WallShape> WEST_WALL_SHAPE
public static final EnumProperty<WireConnection> EAST_WIRE_CONNECTION
public static final EnumProperty<WireConnection> NORTH_WIRE_CONNECTION
public static final EnumProperty<WireConnection> SOUTH_WIRE_CONNECTION
public static final EnumProperty<WireConnection> WEST_WIRE_CONNECTION
public static final EnumProperty<DoubleBlockHalf> DOUBLE_BLOCK_HALF
public static final EnumProperty<BlockHalf> BLOCK_HALF
public static final EnumProperty<RailShape> RAIL_SHAPE
public static final EnumProperty<RailShape> STRAIGHT_RAIL_SHAPE
This property does not allow for a rail to turn.
public static final IntProperty AGE_1
public static final IntProperty AGE_2
public static final IntProperty AGE_3
public static final IntProperty AGE_5
public static final IntProperty AGE_7
public static final IntProperty AGE_15
public static final IntProperty AGE_25
public static final IntProperty BITES
public static final IntProperty DELAY
public static final IntProperty DISTANCE_1_7
public static final IntProperty EGGS
public static final IntProperty HATCH
public static final IntProperty LAYERS
public static final IntProperty LEVEL_3
public static final IntProperty LEVEL_8
public static final IntProperty LEVEL_1_8
public static final IntProperty HONEY_LEVEL
public static final IntProperty LEVEL_15
public static final IntProperty MOISTURE
public static final IntProperty NOTE
public static final IntProperty PICKLES
public static final IntProperty POWER
public static final IntProperty STAGE
public static final IntProperty DISTANCE_0_7
public static final IntProperty CHARGES
public static final IntProperty ROTATION
Each rotation is 22.5 degrees.
public static final EnumProperty<BedPart> BED_PART
public static final EnumProperty<ChestType> CHEST_TYPE
public static final EnumProperty<ComparatorMode> COMPARATOR_MODE
public static final EnumProperty<DoorHinge> DOOR_HINGE
public static final EnumProperty<Instrument> INSTRUMENT
public static final EnumProperty<PistonType> PISTON_TYPE
public static final EnumProperty<SlabType> SLAB_TYPE
public static final EnumProperty<StairShape> STAIR_SHAPE
public static final EnumProperty<StructureBlockMode> STRUCTURE_BLOCK_MODE
public static final EnumProperty<BambooLeaves> BAMBOO_LEAVES