Uses of Class
net.minecraft.state.property.EnumProperty
-
Uses of EnumProperty in net.minecraft.block
Modifier and TypeFieldDescriptionstatic EnumProperty<Attachment>
BellBlock.ATTACHMENT
static EnumProperty<Direction.Axis>
NetherPortalBlock.AXIS
static EnumProperty<Direction.Axis>
PillarBlock.AXIS
static EnumProperty<ChestType>
ChestBlock.CHEST_TYPE
static EnumProperty<WallShape>
WallBlock.EAST_SHAPE
static EnumProperty<WallMountLocation>
WallMountedBlock.FACE
static EnumProperty<Direction>
ShulkerBoxBlock.FACING
static EnumProperty<DoubleBlockHalf>
DoorBlock.HALF
static EnumProperty<BlockHalf>
StairsBlock.HALF
static EnumProperty<DoubleBlockHalf>
TallPlantBlock.HALF
static EnumProperty<DoubleBlockHalf>
TallSeagrassBlock.HALF
static EnumProperty<BlockHalf>
TrapdoorBlock.HALF
static EnumProperty<DoorHinge>
DoorBlock.HINGE
static EnumProperty<Instrument>
NoteBlock.INSTRUMENT
static EnumProperty<BambooLeaves>
BambooBlock.LEAVES
static EnumProperty<ComparatorMode>
ComparatorBlock.MODE
static EnumProperty<StructureBlockMode>
StructureBlock.MODE
static EnumProperty<WallShape>
WallBlock.NORTH_SHAPE
static EnumProperty<JigsawOrientation>
JigsawBlock.ORIENTATION
static EnumProperty<BedPart>
BedBlock.PART
static EnumProperty<SculkSensorPhase>
SculkSensorBlock.SCULK_SENSOR_PHASE
static EnumProperty<RailShape>
DetectorRailBlock.SHAPE
static EnumProperty<RailShape>
PoweredRailBlock.SHAPE
static EnumProperty<RailShape>
RailBlock.SHAPE
static EnumProperty<StairShape>
StairsBlock.SHAPE
static EnumProperty<WallShape>
WallBlock.SOUTH_SHAPE
static EnumProperty<Thickness>
PointedDripstoneBlock.THICKNESS
private static EnumProperty<Tilt>
BigDripleafBlock.TILT
static EnumProperty<PistonType>
PistonExtensionBlock.TYPE
static EnumProperty<PistonType>
PistonHeadBlock.TYPE
static EnumProperty<SlabType>
SlabBlock.TYPE
static EnumProperty<WallShape>
WallBlock.WEST_SHAPE
static EnumProperty<WireConnection>
RedstoneWireBlock.WIRE_CONNECTION_EAST
static EnumProperty<WireConnection>
RedstoneWireBlock.WIRE_CONNECTION_NORTH
static EnumProperty<WireConnection>
RedstoneWireBlock.WIRE_CONNECTION_SOUTH
static EnumProperty<WireConnection>
RedstoneWireBlock.WIRE_CONNECTION_WEST
Modifier and TypeFieldDescriptionstatic 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 EnumProperty<Attachment>
Properties.ATTACHMENT
A property that specifies how a bell is attached to a block.static EnumProperty<Direction.Axis>
Properties.AXIS
A property that specifies the axis a block is oriented to.static EnumProperty<BambooLeaves>
Properties.BAMBOO_LEAVES
A property that specifies the size of bamboo leaves.static EnumProperty<BedPart>
Properties.BED_PART
A property that specifies what part of a bed a block is.static EnumProperty<BlockHalf>
Properties.BLOCK_HALF
A property that specifies if a block is the upper or lower half.static EnumProperty<ChestType>
Properties.CHEST_TYPE
A property that specifies what type of chest a block is.static EnumProperty<ComparatorMode>
Properties.COMPARATOR_MODE
A property that specifies the mode a comparator is set to.static EnumProperty<DoorHinge>
Properties.DOOR_HINGE
A property that specifies whether a door's hinge is to the right or left.static EnumProperty<DoubleBlockHalf>
Properties.DOUBLE_BLOCK_HALF
A property that specifies whether a double height block is the upper or lower half.static EnumProperty<WallShape>
Properties.EAST_WALL_SHAPE
A property that specifies how a wall extends from the center post to the east.static EnumProperty<WireConnection>
Properties.EAST_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the east.static EnumProperty<Direction.Axis>
Properties.HORIZONTAL_AXIS
A property that specifies the axis a block is oriented to.static EnumProperty<Instrument>
Properties.INSTRUMENT
A property that specifies what instrument a note block will play.static EnumProperty<WallShape>
Properties.NORTH_WALL_SHAPE
A property that specifies how a wall extends from the center post to the north.static EnumProperty<WireConnection>
Properties.NORTH_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the north.static EnumProperty<JigsawOrientation>
Properties.ORIENTATION
A property that specifies the orientation of a jigsaw.static EnumProperty<PistonType>
Properties.PISTON_TYPE
A property that specifies the type of a piston.static EnumProperty<RailShape>
Properties.RAIL_SHAPE
A property that specifies the two directions a rail connects to.static EnumProperty<SculkSensorPhase>
Properties.SCULK_SENSOR_PHASE
static EnumProperty<SlabType>
Properties.SLAB_TYPE
A property that specifies the type of slab.static EnumProperty<WallShape>
Properties.SOUTH_WALL_SHAPE
A property that specifies how a wall extends from the center post to the south.static EnumProperty<WireConnection>
Properties.SOUTH_WIRE_CONNECTION
A property that specifies how redstone wire attaches to the south.static EnumProperty<StairShape>
Properties.STAIR_SHAPE
A property that specifies the shape of a stair block.static EnumProperty<RailShape>
Properties.STRAIGHT_RAIL_SHAPE
A property that specifies the two directions a rail connects to.static EnumProperty<StructureBlockMode>
Properties.STRUCTURE_BLOCK_MODE
A property that specifies the mode of a structure block.static EnumProperty<Thickness>
Properties.THICKNESS
static EnumProperty<Tilt>
Properties.TILT
static EnumProperty<WallMountLocation>
Properties.WALL_MOUNT_LOCATION
A property that specifies the type of wall a block is attached to.static EnumProperty<WallShape>
Properties.WEST_WALL_SHAPE
A property that specifies how a wall extends from the center post to the west.static 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.