Package net.minecraft.state
Class DirectionProperty
- java.lang.Object
-
- net.minecraft.state.Property<T>
-
- net.minecraft.state.EnumProperty<Direction>
-
- net.minecraft.state.DirectionProperty
-
public class DirectionProperty extends EnumProperty<Direction>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.state.Property
Property.ValuePair<T extends java.lang.Comparable<T>>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DirectionProperty(java.lang.String p_i45650_1_, java.util.Collection<Direction> p_i45650_2_)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DirectionProperty
create(java.lang.String p_177713_0_, java.util.Collection<Direction> p_177713_1_)
static DirectionProperty
create(java.lang.String p_177712_0_, java.util.function.Predicate<Direction> p_177712_1_)
static DirectionProperty
create(java.lang.String p_196962_0_, Direction... p_196962_1_)
-
Methods inherited from class net.minecraft.state.EnumProperty
create, create, create, create, equals, generateHashCode, getName, getPossibleValues, getValue
-
Methods inherited from class net.minecraft.state.Property
getAllValues, getName, getValueClass, hashCode, toString, value, value, valueCodec
-
-
-
-
Constructor Detail
-
DirectionProperty
protected DirectionProperty(java.lang.String p_i45650_1_, java.util.Collection<Direction> p_i45650_2_)
-
-
Method Detail
-
create
public static DirectionProperty create(java.lang.String p_177712_0_, java.util.function.Predicate<Direction> p_177712_1_)
-
create
public static DirectionProperty create(java.lang.String p_196962_0_, Direction... p_196962_1_)
-
create
public static DirectionProperty create(java.lang.String p_177713_0_, java.util.Collection<Direction> p_177713_1_)
-
-