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 Details

    • ATTACHED

      public static final BooleanProperty ATTACHED
      A property that specifies if a tripwire is attached to a tripwire hook.
    • BOTTOM

      public static final BooleanProperty BOTTOM
      A property that specifies if a scaffolding block is bottom of a floating segment.
    • CONDITIONAL

      public static final BooleanProperty CONDITIONAL
      A property that specifies if a command block is conditional.
    • DISARMED

      public static final BooleanProperty DISARMED
      A property that specifies if a tripwire has been disarmed.
    • DRAG

      public static final BooleanProperty DRAG
      A property that specifies if a bubble column should drag entities downwards.
    • ENABLED

      public static final BooleanProperty ENABLED
      A property that specifies whether a hopper is enabled.
    • EXTENDED

      public static final BooleanProperty EXTENDED
      A property that specifies if a piston is extended.
    • EYE

      public static final BooleanProperty EYE
      A property that specifies if an end portal frame contains an eye of ender.
    • FALLING

      public static final BooleanProperty FALLING
      A property that specifies if a fluid is falling.
    • HANGING

      public static final BooleanProperty HANGING
      A property that specifies if a lantern is hanging.
    • HAS_BOTTLE_0

      public static final BooleanProperty HAS_BOTTLE_0
      A property that specifies if a brewing stand has a bottle in slot 0.
    • HAS_BOTTLE_1

      public static final BooleanProperty HAS_BOTTLE_1
      A property that specifies if a brewing stand has a bottle in slot 1.
    • HAS_BOTTLE_2

      public static final BooleanProperty HAS_BOTTLE_2
      A property that specifies if a brewing stand has a bottle in slot 2.
    • HAS_RECORD

      public static final BooleanProperty HAS_RECORD
      A property that specifies if a jukebox has a record.
    • HAS_BOOK

      public static final BooleanProperty HAS_BOOK
      A property that specifies if a lectern has a book.
    • INVERTED

      public static final BooleanProperty INVERTED
      A property that specifies if a daylight sensor's output is inverted.
    • IN_WALL

      public static final BooleanProperty 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

      public static final BooleanProperty LIT
      A property that specifies if a block is lit.
    • LOCKED

      public static final BooleanProperty LOCKED
      A property that specifies if a repeater is locked.
    • OCCUPIED

      public static final BooleanProperty OCCUPIED
      A property that specifies if a bed is occupied.
    • OPEN

      public static final BooleanProperty 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

      public static final BooleanProperty 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

      public static final BooleanProperty POWERED
      A property that specifies if a block is being powered to produce or emit redstone signal.
    • SHORT

      public static final BooleanProperty SHORT
      A property that specifies if a piston head is shorter than normal.
    • SIGNAL_FIRE

      public static final BooleanProperty 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

      public static final BooleanProperty SNOWY
      A property that specifies if a block is covered in snow.
    • TRIGGERED

      public static final BooleanProperty TRIGGERED
      A property that specifies if a dispenser is activated.
    • UNSTABLE

      public static final BooleanProperty UNSTABLE
      A property that specifies if TNT is unstable.

      In vanilla, if TNT is unstable, it will ignite when broken.

    • WATERLOGGED

      public static final BooleanProperty WATERLOGGED
      A property that specifies if a block is waterlogged.
    • VINE_END

      public static final BooleanProperty VINE_END
    • HORIZONTAL_AXIS

      public static final EnumProperty<Direction.Axis> 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

      public static final EnumProperty<Direction.Axis> AXIS
      A property that specifies the axis a block is oriented to.
    • UP

      public static final BooleanProperty UP
      A property that specifies if this block is connected to another block from the top.
    • DOWN

      public static final BooleanProperty DOWN
      A property that specifies if this block is connected to another block from the below.
    • NORTH

      public static final BooleanProperty NORTH
      A property that specifies if this block is connected to another block from the north.
    • EAST

      public static final BooleanProperty EAST
      A property that specifies if this block is connected to another block from the east.
    • SOUTH

      public static final BooleanProperty SOUTH
      A property that specifies if this block is connected to another block from the south.
    • WEST

      public static final BooleanProperty WEST
      A property that specifies if this block is connected to another block from the west.
    • FACING

      public static final DirectionProperty FACING
      A property that specifies the direction a block is facing.
    • HOPPER_FACING

      public static final DirectionProperty 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

      public static final DirectionProperty 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

      public static final EnumProperty<JigsawOrientation> ORIENTATION
      A property that specifies the orientation of a jigsaw.
    • WALL_MOUNT_LOCATION

      public static final EnumProperty<WallMountLocation> WALL_MOUNT_LOCATION
      A property that specifies the type of wall a block is attached to.
    • ATTACHMENT

      public static final EnumProperty<Attachment> ATTACHMENT
      A property that specifies how a bell is attached to a block.
    • EAST_WALL_SHAPE

      public static final EnumProperty<WallShape> EAST_WALL_SHAPE
      A property that specifies how a wall extends from the center post to the east.‌
    • NORTH_WALL_SHAPE

      public static final EnumProperty<WallShape> NORTH_WALL_SHAPE
      A property that specifies how a wall extends from the center post to the north.‌
    • SOUTH_WALL_SHAPE

      public static final EnumProperty<WallShape> SOUTH_WALL_SHAPE
      A property that specifies how a wall extends from the center post to the south.‌
    • WEST_WALL_SHAPE

      public static final EnumProperty<WallShape> WEST_WALL_SHAPE
      A property that specifies how a wall extends from the center post to the west.‌
    • EAST_WIRE_CONNECTION

      public static final EnumProperty<WireConnection> EAST_WIRE_CONNECTION
      A property that specifies how redstone wire attaches to the east.‌
    • NORTH_WIRE_CONNECTION

      public static final EnumProperty<WireConnection> NORTH_WIRE_CONNECTION
      A property that specifies how redstone wire attaches to the north.‌
    • SOUTH_WIRE_CONNECTION

      public static final EnumProperty<WireConnection> SOUTH_WIRE_CONNECTION
      A property that specifies how redstone wire attaches to the south.‌
    • WEST_WIRE_CONNECTION

      public static final EnumProperty<WireConnection> WEST_WIRE_CONNECTION
      A property that specifies how redstone wire attaches to the west.‌
    • DOUBLE_BLOCK_HALF

      public static final EnumProperty<DoubleBlockHalf> DOUBLE_BLOCK_HALF
      A property that specifies whether a double height block is the upper or lower half.
    • BLOCK_HALF

      public static final EnumProperty<BlockHalf> BLOCK_HALF
      A property that specifies if a block is the upper or lower half.
    • RAIL_SHAPE

      public static final EnumProperty<RailShape> RAIL_SHAPE
      A property that specifies the two directions a rail connects to.
    • STRAIGHT_RAIL_SHAPE

      public static final EnumProperty<RailShape> 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

      public static final IntProperty AGE_1
      A property that specifies the age of a block on a scale of 0 to 1.
    • AGE_2

      public static final IntProperty AGE_2
      A property that specifies the age of a block on a scale of 0 to 2.
    • AGE_3

      public static final IntProperty AGE_3
      A property that specifies the age of a block on a scale of 0 to 3.
    • AGE_5

      public static final IntProperty AGE_5
      A property that specifies the age of a block on a scale of 0 to 5.
    • AGE_7

      public static final IntProperty AGE_7
      A property that specifies the age of a block on a scale of 0 to 7.
    • AGE_15

      public static final IntProperty AGE_15
      A property that specifies the age of a block on a scale of 0 to 15.
    • AGE_25

      public static final IntProperty AGE_25
      A property that specifies the age of a block on a scale of 0 to 25.
    • BITES

      public static final IntProperty BITES
      A property that specifies the bites taken out of a cake.
    • CANDLES

      public static final IntProperty CANDLES
      A property that specifies the amount of candles in a candle block.
    • DELAY

      public static final IntProperty DELAY
      A property that specifies the delay a repeater will apply.
    • DISTANCE_1_7

      public static final IntProperty DISTANCE_1_7
      A property that specifies the overhang distance of a block on a scale of 1-7.
    • EGGS

      public static final IntProperty EGGS
      A property that specifies the amount of eggs in a turtle egg block.
    • HATCH

      public static final IntProperty HATCH
      A property that specifies how close an egg is hatching.
    • LAYERS

      public static final IntProperty LAYERS
      A property that specifies how many layers of snow are in a snow block.
    • LEVEL_3

      public static final IntProperty LEVEL_3
      A property that specifies how many levels of water there are in a cauldron.
    • LEVEL_8

      public static final IntProperty LEVEL_8
      A property that specifies the level of a composter.
    • LEVEL_1_8

      public static final IntProperty LEVEL_1_8
      A property that specifies the height of a fluid on a scale of 1 to 8.
    • HONEY_LEVEL

      public static final IntProperty HONEY_LEVEL
      A property that specifies the honey level of a beehive.
    • LEVEL_15

      public static final IntProperty LEVEL_15
    • MOISTURE

      public static final IntProperty MOISTURE
      A property that specifies the moisture of farmland.
    • NOTE

      public static final IntProperty NOTE
      A property that specifies the pitch of a note block.
    • PICKLES

      public static final IntProperty PICKLES
      A property that specifies how many pickles are in a sea pickle.
    • POWER

      public static final IntProperty POWER
      A property that specifies the redstone power of a block.
    • STAGE

      public static final IntProperty STAGE
      A property that specifies a growth stage on a scale of 0 to 1.
    • DISTANCE_0_7

      public static final IntProperty DISTANCE_0_7
      A property that specifies the overhang distance of a scaffolding.
    • CHARGES

      public static final IntProperty CHARGES
      A property that specifies the amount of charges a respawn anchor has.
    • ROTATION

      public static final IntProperty ROTATION
      A property that specifies the rotation of a block on a 0 to 15 scale.

      Each rotation is 22.5 degrees.

    • BED_PART

      public static final EnumProperty<BedPart> BED_PART
      A property that specifies what part of a bed a block is.
    • CHEST_TYPE

      public static final EnumProperty<ChestType> CHEST_TYPE
      A property that specifies what type of chest a block is.
    • COMPARATOR_MODE

      public static final EnumProperty<ComparatorMode> COMPARATOR_MODE
      A property that specifies the mode a comparator is set to.
    • DOOR_HINGE

      public static final EnumProperty<DoorHinge> DOOR_HINGE
      A property that specifies whether a door's hinge is to the right or left.
    • INSTRUMENT

      public static final EnumProperty<Instrument> INSTRUMENT
      A property that specifies what instrument a note block will play.
    • PISTON_TYPE

      public static final EnumProperty<PistonType> PISTON_TYPE
      A property that specifies the type of a piston.
    • SLAB_TYPE

      public static final EnumProperty<SlabType> SLAB_TYPE
      A property that specifies the type of slab.
    • STAIR_SHAPE

      public static final EnumProperty<StairShape> STAIR_SHAPE
      A property that specifies the shape of a stair block.
    • STRUCTURE_BLOCK_MODE

      public static final EnumProperty<StructureBlockMode> STRUCTURE_BLOCK_MODE
      A property that specifies the mode of a structure block.
    • BAMBOO_LEAVES

      public static final EnumProperty<BambooLeaves> BAMBOO_LEAVES
      A property that specifies the size of bamboo leaves.
    • VERTICAL_DIRECTION

      public static final DirectionProperty VERTICAL_DIRECTION
    • THICKNESS

      public static final EnumProperty<Thickness> THICKNESS
    • SCULK_SENSOR_PHASE

      public static final EnumProperty<SculkSensorPhase> SCULK_SENSOR_PHASE
  • Constructor Details

    • Properties

      public Properties()