Class DirectionProperty

All Implemented Interfaces:
Property<Direction>

public class DirectionProperty extends EnumProperty<Direction>
Mappings:
Namespace Name
official aml
intermediary net/minecraft/class_2244
named net/minecraft/state/property/DirectionProperty
  • Constructor Details

    • DirectionProperty

      protected DirectionProperty(String name, Collection<Direction> values)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laml;<init>(Ljava/lang/String;Ljava/util/Collection;)V
      intermediary <init> Lnet/minecraft/class_2244;<init>(Ljava/lang/String;Ljava/util/Collection;)V
      named <init> Lnet/minecraft/state/property/DirectionProperty;<init>(Ljava/lang/String;Ljava/util/Collection;)V
  • Method Details

    • of

      public static DirectionProperty of(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Laml;a(Ljava/lang/String;)Laml;
      intermediary method_9069 Lnet/minecraft/class_2244;method_9069(Ljava/lang/String;)Lnet/minecraft/class_2244;
      named of Lnet/minecraft/state/property/DirectionProperty;of(Ljava/lang/String;)Lnet/minecraft/state/property/DirectionProperty;
    • of

      public static DirectionProperty of(String name, Predicate<Direction> directionPredicate)
      Mappings:
      Namespace Name Mixin selector
      official a Laml;a(Ljava/lang/String;Lcom/google/common/base/Predicate;)Laml;
      intermediary method_9070 Lnet/minecraft/class_2244;method_9070(Ljava/lang/String;Lcom/google/common/base/Predicate;)Lnet/minecraft/class_2244;
      named of Lnet/minecraft/state/property/DirectionProperty;of(Ljava/lang/String;Lcom/google/common/base/Predicate;)Lnet/minecraft/state/property/DirectionProperty;
    • of

      public static DirectionProperty of(String name, Collection<Direction> values)
      Mappings:
      Namespace Name Mixin selector
      official a Laml;a(Ljava/lang/String;Ljava/util/Collection;)Laml;
      intermediary method_9071 Lnet/minecraft/class_2244;method_9071(Ljava/lang/String;Ljava/util/Collection;)Lnet/minecraft/class_2244;
      named of Lnet/minecraft/state/property/DirectionProperty;of(Ljava/lang/String;Ljava/util/Collection;)Lnet/minecraft/state/property/DirectionProperty;