Class DirectionProperty

All Implemented Interfaces:
Property<Direction>

public class DirectionProperty
extends EnumProperty<Direction>
Mappings:
Namespace Name
official aml
intermediary net/minecraft/class_389
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_389;<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_1268 Lnet/minecraft/class_389;method_1268(Ljava/lang/String;)Lnet/minecraft/class_389;
      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_1269 Lnet/minecraft/class_389;method_1269(Ljava/lang/String;Lcom/google/common/base/Predicate;)Lnet/minecraft/class_389;
      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_1270 Lnet/minecraft/class_389;method_1270(Ljava/lang/String;Ljava/util/Collection;)Lnet/minecraft/class_389;
      named of Lnet/minecraft/state/property/DirectionProperty;of(Ljava/lang/String;Ljava/util/Collection;)Lnet/minecraft/state/property/DirectionProperty;