Package net.minecraft.state.property
Class DirectionProperty
public class DirectionProperty extends EnumProperty<Direction>
- Mappings:
Namespace Name official amlintermediary net/minecraft/class_389named net/minecraft/state/property/DirectionProperty
-
Constructor Summary
Constructors Modifier Constructor Description protectedDirectionProperty(String name, Collection<Direction> values) -
Method Summary
Modifier and Type Method Description static DirectionPropertyof(String name)static DirectionPropertyof(String name, Predicate<Direction> directionPredicate)static DirectionPropertyof(String name, Collection<Direction> values)Methods inherited from class net.minecraft.state.property.EnumProperty
getValues, name, of, of, of, of
-
Constructor Details
-
DirectionProperty
- Mappings:
Namespace Name Mixin selector official <init>Laml;<init>(Ljava/lang/String;Ljava/util/Collection;)Vintermediary <init>Lnet/minecraft/class_389;<init>(Ljava/lang/String;Ljava/util/Collection;)Vnamed <init>Lnet/minecraft/state/property/DirectionProperty;<init>(Ljava/lang/String;Ljava/util/Collection;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official aLaml;a(Ljava/lang/String;)Laml;intermediary method_1268Lnet/minecraft/class_389;method_1268(Ljava/lang/String;)Lnet/minecraft/class_389;named ofLnet/minecraft/state/property/DirectionProperty;of(Ljava/lang/String;)Lnet/minecraft/state/property/DirectionProperty;
-
of
- Mappings:
Namespace Name Mixin selector official aLaml;a(Ljava/lang/String;Lcom/google/common/base/Predicate;)Laml;intermediary method_1269Lnet/minecraft/class_389;method_1269(Ljava/lang/String;Lcom/google/common/base/Predicate;)Lnet/minecraft/class_389;named ofLnet/minecraft/state/property/DirectionProperty;of(Ljava/lang/String;Lcom/google/common/base/Predicate;)Lnet/minecraft/state/property/DirectionProperty;
-
of
- Mappings:
Namespace Name Mixin selector official aLaml;a(Ljava/lang/String;Ljava/util/Collection;)Laml;intermediary method_1270Lnet/minecraft/class_389;method_1270(Ljava/lang/String;Ljava/util/Collection;)Lnet/minecraft/class_389;named ofLnet/minecraft/state/property/DirectionProperty;of(Ljava/lang/String;Ljava/util/Collection;)Lnet/minecraft/state/property/DirectionProperty;
-