Uses of Class
net.minecraft.state.property.EnumProperty
Packages that use EnumProperty
-
Uses of EnumProperty in net.minecraft.block
Fields in net.minecraft.block declared as EnumPropertyModifier and TypeFieldDescriptionstatic final EnumProperty<Attachment> BellBlock.ATTACHMENTstatic final EnumProperty<Direction.Axis> NetherPortalBlock.AXISstatic final EnumProperty<Direction.Axis> PillarBlock.AXISstatic final EnumProperty<ChestType> ChestBlock.CHEST_TYPEstatic final EnumProperty<WallShape> WallBlock.EAST_SHAPEstatic final EnumProperty<BlockFace> WallMountedBlock.FACEstatic final EnumProperty<Direction> ShulkerBoxBlock.FACINGstatic final EnumProperty<DoubleBlockHalf> DoorBlock.HALFstatic final EnumProperty<BlockHalf> StairsBlock.HALFstatic final EnumProperty<DoubleBlockHalf> TallPlantBlock.HALFstatic final EnumProperty<DoubleBlockHalf> TallSeagrassBlock.HALFstatic final EnumProperty<BlockHalf> TrapdoorBlock.HALFstatic final EnumProperty<DoorHinge> DoorBlock.HINGEstatic final EnumProperty<NoteBlockInstrument> NoteBlock.INSTRUMENTstatic final EnumProperty<BambooLeaves> BambooBlock.LEAVESstatic final EnumProperty<ComparatorMode> ComparatorBlock.MODEstatic final EnumProperty<StructureBlockMode> StructureBlock.MODEstatic final EnumProperty<WallShape> WallBlock.NORTH_SHAPEprivate static final EnumProperty<Orientation> CrafterBlock.ORIENTATIONstatic final EnumProperty<Orientation> JigsawBlock.ORIENTATIONstatic final EnumProperty<BedPart> BedBlock.PARTstatic final EnumProperty<SculkSensorPhase> SculkSensorBlock.SCULK_SENSOR_PHASEstatic final EnumProperty<RailShape> DetectorRailBlock.SHAPEstatic final EnumProperty<RailShape> PoweredRailBlock.SHAPEstatic final EnumProperty<RailShape> RailBlock.SHAPEstatic final EnumProperty<StairShape> StairsBlock.SHAPEstatic final EnumProperty<WallShape> WallBlock.SOUTH_SHAPEstatic final EnumProperty<Thickness> PointedDripstoneBlock.THICKNESSprivate static final EnumProperty<Tilt> BigDripleafBlock.TILTstatic final EnumProperty<TrialSpawnerState> TrialSpawnerBlock.TRIAL_SPAWNER_STATEstatic final EnumProperty<PistonType> PistonExtensionBlock.TYPEstatic final EnumProperty<PistonType> PistonHeadBlock.TYPEstatic final EnumProperty<SlabType> SlabBlock.TYPEstatic final EnumProperty<WallShape> WallBlock.WEST_SHAPEstatic final EnumProperty<WireConnection> RedstoneWireBlock.WIRE_CONNECTION_EASTstatic final EnumProperty<WireConnection> RedstoneWireBlock.WIRE_CONNECTION_NORTHstatic final EnumProperty<WireConnection> RedstoneWireBlock.WIRE_CONNECTION_SOUTHstatic final EnumProperty<WireConnection> RedstoneWireBlock.WIRE_CONNECTION_WESTFields in net.minecraft.block with type parameters of type EnumPropertyModifier and TypeFieldDescriptionstatic final Map<Direction, EnumProperty<WireConnection>> RedstoneWireBlock.DIRECTION_TO_WIRE_CONNECTION_PROPERTY -
Uses of EnumProperty in net.minecraft.state.property
Subclasses of EnumProperty in net.minecraft.state.propertyModifier and TypeClassDescriptionclassRepresents a property that has direction values.Fields in net.minecraft.state.property declared as EnumPropertyModifier and TypeFieldDescriptionstatic final EnumProperty<Attachment> Properties.ATTACHMENTA property that specifies how a bell is attached to a block.static final EnumProperty<Direction.Axis> Properties.AXISA property that specifies the axis a block is oriented to.static final EnumProperty<BambooLeaves> Properties.BAMBOO_LEAVESA property that specifies the size of bamboo leaves.static final EnumProperty<BedPart> Properties.BED_PARTA property that specifies what part of a bed a block is.static final EnumProperty<BlockFace> Properties.BLOCK_FACEA property that specifies the block face a block is attached to.static final EnumProperty<BlockHalf> Properties.BLOCK_HALFA property that specifies if a block is the upper or lower half.static final EnumProperty<ChestType> Properties.CHEST_TYPEA property that specifies what type of chest a block is.static final EnumProperty<ComparatorMode> Properties.COMPARATOR_MODEA property that specifies the mode a comparator is set to.static final EnumProperty<DoorHinge> Properties.DOOR_HINGEA property that specifies whether a door's hinge is to the right or left.static final EnumProperty<DoubleBlockHalf> Properties.DOUBLE_BLOCK_HALFA property that specifies whether a double height block is the upper or lower half.static final EnumProperty<WallShape> Properties.EAST_WALL_SHAPEA property that specifies how a wall extends from the center post to the east.static final EnumProperty<WireConnection> Properties.EAST_WIRE_CONNECTIONA property that specifies how redstone wire attaches to the east.static final EnumProperty<Direction.Axis> Properties.HORIZONTAL_AXISA property that specifies the axis a block is oriented to.static final EnumProperty<NoteBlockInstrument> Properties.INSTRUMENTA property that specifies what instrument a note block will play.static final EnumProperty<WallShape> Properties.NORTH_WALL_SHAPEA property that specifies how a wall extends from the center post to the north.static final EnumProperty<WireConnection> Properties.NORTH_WIRE_CONNECTIONA property that specifies how redstone wire attaches to the north.static final EnumProperty<Orientation> Properties.ORIENTATIONA property that specifies the orientation of a jigsaw or crafter.static final EnumProperty<PistonType> Properties.PISTON_TYPEA property that specifies the type of a piston.static final EnumProperty<RailShape> Properties.RAIL_SHAPEA property that specifies the two directions a rail connects to.static final EnumProperty<SculkSensorPhase> Properties.SCULK_SENSOR_PHASEA property that specifies the current phase of a sculk sensor.static final EnumProperty<SlabType> Properties.SLAB_TYPEA property that specifies the type of slab.static final EnumProperty<WallShape> Properties.SOUTH_WALL_SHAPEA property that specifies how a wall extends from the center post to the south.static final EnumProperty<WireConnection> Properties.SOUTH_WIRE_CONNECTIONA property that specifies how redstone wire attaches to the south.static final EnumProperty<StairShape> Properties.STAIR_SHAPEA property that specifies the shape of a stair block.static final EnumProperty<RailShape> Properties.STRAIGHT_RAIL_SHAPEA property that specifies the two directions a rail connects to.static final EnumProperty<StructureBlockMode> Properties.STRUCTURE_BLOCK_MODEA property that specifies the mode of a structure block.static final EnumProperty<Thickness> Properties.THICKNESSA property that specifies the thickness of a pointed dripstone.static final EnumProperty<Tilt> Properties.TILTA property that specifies how a big dripleaf is tilted down.static final EnumProperty<TrialSpawnerState> Properties.TRIAL_SPAWNER_STATEA property that specifies the state of a trial spawner.static final EnumProperty<VaultState> Properties.VAULT_STATEA property that specifies the state of a vault.static final EnumProperty<WallShape> Properties.WEST_WALL_SHAPEA property that specifies how a wall extends from the center post to the west.static final EnumProperty<WireConnection> Properties.WEST_WIRE_CONNECTIONA property that specifies how redstone wire attaches to the west.Methods in net.minecraft.state.property that return EnumPropertyModifier 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.