Uses of Class
net.minecraft.state.property.EnumProperty
Packages that use EnumProperty
Package
Description
-
Uses of EnumProperty in net.minecraft.block
Fields in net.minecraft.block declared as EnumPropertyModifier and TypeFieldDescriptionstatic final EnumProperty<CreakingHeartState> CreakingHeartBlock.ACTIVEstatic final EnumProperty<Attachment> BellBlock.ATTACHMENTstatic final EnumProperty<Direction.Axis> CreakingHeartBlock.AXISstatic final EnumProperty<Direction.Axis> NetherPortalBlock.AXISstatic final EnumProperty<Direction.Axis> PillarBlock.AXISstatic final EnumProperty<ChestType> ChestBlock.CHEST_TYPEstatic final EnumProperty<WallShape> PaleMossCarpetBlock.EASTstatic final EnumProperty<WallShape> WallBlock.EAST_WALL_SHAPEstatic final EnumProperty<BlockFace> WallMountedBlock.FACEstatic final EnumProperty<Direction> AbstractFurnaceBlock.FACINGstatic final EnumProperty<Direction> AmethystClusterBlock.FACINGstatic final EnumProperty<Direction> AnvilBlock.FACINGstatic final EnumProperty<Direction> AttachedStemBlock.FACINGstatic final EnumProperty<Direction> BarrelBlock.FACINGstatic final EnumProperty<Direction> BeehiveBlock.FACINGstatic final EnumProperty<Direction> BellBlock.FACINGstatic final EnumProperty<Direction> CalibratedSculkSensorBlock.FACINGstatic final EnumProperty<Direction> CampfireBlock.FACINGstatic final EnumProperty<Direction> CarvedPumpkinBlock.FACINGstatic final EnumProperty<Direction> ChestBlock.FACINGstatic final EnumProperty<Direction> CommandBlock.FACINGstatic final EnumProperty<Direction> DeadCoralWallFanBlock.FACINGstatic final EnumProperty<Direction> DecoratedPotBlock.FACINGstatic final EnumProperty<Direction> DispenserBlock.FACINGstatic final EnumProperty<Direction> DoorBlock.FACINGstatic final EnumProperty<Direction> EnderChestBlock.FACINGstatic final EnumProperty<Direction> EndPortalFrameBlock.FACINGstatic final EnumProperty<Direction> FacingBlock.FACINGstatic final EnumProperty<Direction> HopperBlock.FACINGstatic final EnumProperty<Direction> HorizontalFacingBlock.FACINGstatic final EnumProperty<Direction> LadderBlock.FACINGstatic final EnumProperty<Direction> LecternBlock.FACINGstatic final EnumProperty<Direction> PistonExtensionBlock.FACINGstatic final EnumProperty<Direction> ShulkerBoxBlock.FACINGstatic final EnumProperty<Direction> SmallDripleafBlock.FACINGstatic final EnumProperty<Direction> StairsBlock.FACINGstatic final EnumProperty<Direction> StonecutterBlock.FACINGstatic final EnumProperty<Direction> TripwireHookBlock.FACINGstatic final EnumProperty<Direction> VaultBlock.FACINGstatic final EnumProperty<Direction> WallBannerBlock.FACINGstatic final EnumProperty<Direction> WallHangingSignBlock.FACINGstatic final EnumProperty<Direction> WallRedstoneTorchBlock.FACINGstatic final EnumProperty<Direction> WallSignBlock.FACINGstatic final EnumProperty<Direction> WallSkullBlock.FACINGstatic final EnumProperty<Direction> WallTorchBlock.FACINGstatic final EnumProperty<DoubleBlockHalf> DoorBlock.HALFstatic final EnumProperty<DoubleBlockHalf> PitcherCropBlock.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<Direction> FlowerbedBlock.HORIZONTAL_FACINGstatic final EnumProperty<Direction> LeafLitterBlock.HORIZONTAL_FACINGstatic final EnumProperty<NoteBlockInstrument> NoteBlock.INSTRUMENTstatic final EnumProperty<BambooLeaves> BambooBlock.LEAVESstatic final EnumProperty<ComparatorMode> ComparatorBlock.MODEstatic final EnumProperty<StructureBlockMode> StructureBlock.MODEstatic final EnumProperty<TestBlockMode> TestBlock.MODEstatic final EnumProperty<WallShape> PaleMossCarpetBlock.NORTHstatic final EnumProperty<WallShape> WallBlock.NORTH_WALL_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> PaleMossCarpetBlock.SOUTHstatic final EnumProperty<WallShape> WallBlock.SOUTH_WALL_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<Direction> PointedDripstoneBlock.VERTICAL_DIRECTIONstatic final EnumProperty<WallShape> PaleMossCarpetBlock.WESTstatic final EnumProperty<WallShape> WallBlock.WEST_WALL_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_PROPERTYstatic final Map<Direction, EnumProperty<WallShape>> PaleMossCarpetBlock.WALL_SHAPE_PROPERTIES_BY_DIRECTIONstatic final Map<Direction, EnumProperty<WallShape>> WallBlock.WALL_SHAPE_PROPERTIES_BY_DIRECTIONMethods in net.minecraft.block that return EnumPropertyModifier and TypeMethodDescriptionstatic @Nullable EnumProperty<WallShape> PaleMossCarpetBlock.getWallShape(Direction face) Methods in net.minecraft.block with parameters of type EnumPropertyModifier and TypeMethodDescriptiondefault Function<BlockState, VoxelShape> Segmented.createShapeFunction(EnumProperty<Direction> directionProperty, IntProperty segmentAmountProperty) default BlockStateSegmented.getPlacementState(ItemPlacementContext context, Block block, IntProperty amountProperty, EnumProperty<Direction> directionProperty) -
Uses of EnumProperty in net.minecraft.state.property
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<CreakingHeartState> Properties.CREAKING_HEART_STATEA property that specifies the state of a creaking heart.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> Properties.FACINGA property that specifies the direction a block is facing.static final EnumProperty<Direction> Properties.HOPPER_FACINGA property that specifies the direction a hopper's output faces.static final EnumProperty<Direction.Axis> Properties.HORIZONTAL_AXISA property that specifies the axis a block is oriented to.static final EnumProperty<Direction> Properties.HORIZONTAL_FACINGA property that specifies the direction a block is facing.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<TestBlockMode> Properties.TEST_BLOCK_MODEA property that specifies the mode of a test 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<Direction> Properties.VERTICAL_DIRECTIONA property that specifies the direction a pointed dripstone is facing.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> 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.static <T extends Enum<T> & StringIdentifiable>
EnumProperty<T> Creates an enum property with the given values. -
Uses of EnumProperty in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type EnumPropertyModifier and TypeMethodDescriptionprivate static Pool.Builder<BlockState> VegetationConfiguredFeatures.segmentedBlock(Block block, int min, int max, IntProperty amountProperty, EnumProperty<Direction> facingProperty)