Uses of Class
net.minecraft.state.property.EnumProperty
-
Uses of EnumProperty in net.minecraft.block
Modifier and TypeFieldDescriptionstatic final EnumProperty<Attachment>
BellBlock.ATTACHMENT
static final EnumProperty<Direction.Axis>
NetherPortalBlock.AXIS
static final EnumProperty<Direction.Axis>
PillarBlock.AXIS
static final EnumProperty<ChestType>
ChestBlock.CHEST_TYPE
static final EnumProperty<WallShape>
WallBlock.EAST_SHAPE
static final EnumProperty<BlockFace>
WallMountedBlock.FACE
static final EnumProperty<Direction>
ShulkerBoxBlock.FACING
static final EnumProperty<DoubleBlockHalf>
DoorBlock.HALF
static final EnumProperty<BlockHalf>
StairsBlock.HALF
static final EnumProperty<DoubleBlockHalf>
TallPlantBlock.HALF
static final EnumProperty<DoubleBlockHalf>
TallSeagrassBlock.HALF
static final EnumProperty<BlockHalf>
TrapdoorBlock.HALF
static final EnumProperty<DoorHinge>
DoorBlock.HINGE
static final EnumProperty<Instrument>
NoteBlock.INSTRUMENT
static final EnumProperty<BambooLeaves>
BambooBlock.LEAVES
static final EnumProperty<ComparatorMode>
ComparatorBlock.MODE
static final EnumProperty<StructureBlockMode>
StructureBlock.MODE
static final EnumProperty<WallShape>
WallBlock.NORTH_SHAPE
static final EnumProperty<JigsawOrientation>
JigsawBlock.ORIENTATION
static final EnumProperty<BedPart>
BedBlock.PART
static final EnumProperty<SculkSensorPhase>
SculkSensorBlock.SCULK_SENSOR_PHASE
static final EnumProperty<RailShape>
DetectorRailBlock.SHAPE
static final EnumProperty<RailShape>
PoweredRailBlock.SHAPE
static final EnumProperty<RailShape>
RailBlock.SHAPE
static final EnumProperty<StairShape>
StairsBlock.SHAPE
static final EnumProperty<WallShape>
WallBlock.SOUTH_SHAPE
static final EnumProperty<Thickness>
PointedDripstoneBlock.THICKNESS
private static final EnumProperty<Tilt>
BigDripleafBlock.TILT
static final EnumProperty<PistonType>
PistonExtensionBlock.TYPE
static final EnumProperty<PistonType>
PistonHeadBlock.TYPE
static final EnumProperty<SlabType>
SlabBlock.TYPE
static final EnumProperty<WallShape>
WallBlock.WEST_SHAPE
static final EnumProperty<WireConnection>
RedstoneWireBlock.WIRE_CONNECTION_EAST
static final EnumProperty<WireConnection>
RedstoneWireBlock.WIRE_CONNECTION_NORTH
static final EnumProperty<WireConnection>
RedstoneWireBlock.WIRE_CONNECTION_SOUTH
static final EnumProperty<WireConnection>
RedstoneWireBlock.WIRE_CONNECTION_WEST
Modifier and TypeFieldDescriptionstatic final Map<Direction,
EnumProperty<WireConnection>> RedstoneWireBlock.DIRECTION_TO_WIRE_CONNECTION_PROPERTY
-
Uses of EnumProperty in net.minecraft.state.property
Modifier and TypeClassDescriptionclass
Represents a property that has direction values.Modifier and TypeFieldDescriptionstatic final EnumProperty<Attachment>
Properties.ATTACHMENT
A property that specifies how a bell is attached to a block.static final EnumProperty<Direction.Axis>
Properties.AXIS
A property that specifies the axis a block is oriented to.static final EnumProperty<BambooLeaves>
Properties.BAMBOO_LEAVES
A property that specifies the size of bamboo leaves.static final EnumProperty<BedPart>
Properties.BED_PART
A property that specifies what part of a bed a block is.static final EnumProperty<BlockFace>
Properties.BLOCK_FACE
A property that specifies the block face a block is attached to.static final EnumProperty<BlockHalf>
Properties.BLOCK_HALF
A property that specifies if a block is the upper or lower half.static final EnumProperty<ChestType>
Properties.CHEST_TYPE
A property that specifies what type of chest a block is.static final EnumProperty<ComparatorMode>
Properties.COMPARATOR_MODE
A property that specifies the mode a comparator is set to.static final EnumProperty<DoorHinge>
Properties.DOOR_HINGE
A property that specifies whether a door's hinge is to the right or left.static final EnumProperty<DoubleBlockHalf>
Properties.DOUBLE_BLOCK_HALF
A property that specifies whether a double height block is the upper or lower half.static final EnumProperty<WallShape>
Properties.EAST_WALL_SHAPE
A property that specifies how a wall extends from the center post to the east.static final EnumProperty<WireConnection>
Properties.EAST_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the east.static final EnumProperty<Direction.Axis>
Properties.HORIZONTAL_AXIS
A property that specifies the axis a block is oriented to.static final EnumProperty<Instrument>
Properties.INSTRUMENT
A property that specifies what instrument a note block will play.static final EnumProperty<WallShape>
Properties.NORTH_WALL_SHAPE
A property that specifies how a wall extends from the center post to the north.static final EnumProperty<WireConnection>
Properties.NORTH_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the north.static final EnumProperty<JigsawOrientation>
Properties.ORIENTATION
A property that specifies the orientation of a jigsaw.static final EnumProperty<PistonType>
Properties.PISTON_TYPE
A property that specifies the type of a piston.static final EnumProperty<RailShape>
Properties.RAIL_SHAPE
A property that specifies the two directions a rail connects to.static final EnumProperty<SculkSensorPhase>
Properties.SCULK_SENSOR_PHASE
A property that specifies the current phase of a sculk sensor.static final EnumProperty<SlabType>
Properties.SLAB_TYPE
A property that specifies the type of slab.static final EnumProperty<WallShape>
Properties.SOUTH_WALL_SHAPE
A property that specifies how a wall extends from the center post to the south.static final EnumProperty<WireConnection>
Properties.SOUTH_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the south.static final EnumProperty<StairShape>
Properties.STAIR_SHAPE
A property that specifies the shape of a stair block.static final EnumProperty<RailShape>
Properties.STRAIGHT_RAIL_SHAPE
A property that specifies the two directions a rail connects to.static final EnumProperty<StructureBlockMode>
Properties.STRUCTURE_BLOCK_MODE
A property that specifies the mode of a structure block.static final EnumProperty<Thickness>
Properties.THICKNESS
A property that specifies the thickness of a pointed dripstone.static final EnumProperty<Tilt>
Properties.TILT
A property that specifies how a big dripleaf is tilted down.static final EnumProperty<WallShape>
Properties.WEST_WALL_SHAPE
A property that specifies how a wall extends from the center post to the west.static final EnumProperty<WireConnection>
Properties.WEST_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the west.Modifier and TypeMethodDescriptionstatic <T extends Enum<T> & StringIdentifiable>
EnumProperty<T>Creates an enum property with all values of the given enum class.static <T extends Enum<T> & StringIdentifiable>
EnumProperty<T>EnumProperty.of
(String name, Class<T> type, Collection<T> values) Creates an enum property with the given values.static <T extends Enum<T> & StringIdentifiable>
EnumProperty<T>Creates an enum property with the values allowed by the given filter.static <T extends Enum<T> & StringIdentifiable>
EnumProperty<T>Creates an enum property with the given values.