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