Enum EightWayDirection

java.lang.Object
java.lang.Enum<EightWayDirection>
net.minecraft.util.EightWayDirection
All Implemented Interfaces:
Serializable, Comparable<EightWayDirection>, java.lang.constant.Constable

public enum EightWayDirection
extends Enum<EightWayDirection>
Mappings:
Namespace Name
official gd
intermediary net/minecraft/class_2355
named net/minecraft/util/EightWayDirection
  • Enum Constant Details

    • NORTH

      public static final EightWayDirection NORTH
      Mappings:
      Namespace Name Mixin selector
      official a Lgd;a:Lgd;
      intermediary field_11069 Lnet/minecraft/class_2355;field_11069:Lnet/minecraft/class_2355;
      named NORTH Lnet/minecraft/util/EightWayDirection;NORTH:Lnet/minecraft/util/EightWayDirection;
    • NORTH_EAST

      public static final EightWayDirection NORTH_EAST
      Mappings:
      Namespace Name Mixin selector
      official b Lgd;b:Lgd;
      intermediary field_11074 Lnet/minecraft/class_2355;field_11074:Lnet/minecraft/class_2355;
      named NORTH_EAST Lnet/minecraft/util/EightWayDirection;NORTH_EAST:Lnet/minecraft/util/EightWayDirection;
    • EAST

      public static final EightWayDirection EAST
      Mappings:
      Namespace Name Mixin selector
      official c Lgd;c:Lgd;
      intermediary field_11075 Lnet/minecraft/class_2355;field_11075:Lnet/minecraft/class_2355;
      named EAST Lnet/minecraft/util/EightWayDirection;EAST:Lnet/minecraft/util/EightWayDirection;
    • SOUTH_EAST

      public static final EightWayDirection SOUTH_EAST
      Mappings:
      Namespace Name Mixin selector
      official d Lgd;d:Lgd;
      intermediary field_11070 Lnet/minecraft/class_2355;field_11070:Lnet/minecraft/class_2355;
      named SOUTH_EAST Lnet/minecraft/util/EightWayDirection;SOUTH_EAST:Lnet/minecraft/util/EightWayDirection;
    • SOUTH

      public static final EightWayDirection SOUTH
      Mappings:
      Namespace Name Mixin selector
      official e Lgd;e:Lgd;
      intermediary field_11073 Lnet/minecraft/class_2355;field_11073:Lnet/minecraft/class_2355;
      named SOUTH Lnet/minecraft/util/EightWayDirection;SOUTH:Lnet/minecraft/util/EightWayDirection;
    • SOUTH_WEST

      public static final EightWayDirection SOUTH_WEST
      Mappings:
      Namespace Name Mixin selector
      official f Lgd;f:Lgd;
      intermediary field_11068 Lnet/minecraft/class_2355;field_11068:Lnet/minecraft/class_2355;
      named SOUTH_WEST Lnet/minecraft/util/EightWayDirection;SOUTH_WEST:Lnet/minecraft/util/EightWayDirection;
    • WEST

      public static final EightWayDirection WEST
      Mappings:
      Namespace Name Mixin selector
      official g Lgd;g:Lgd;
      intermediary field_11072 Lnet/minecraft/class_2355;field_11072:Lnet/minecraft/class_2355;
      named WEST Lnet/minecraft/util/EightWayDirection;WEST:Lnet/minecraft/util/EightWayDirection;
    • NORTH_WEST

      public static final EightWayDirection NORTH_WEST
      Mappings:
      Namespace Name Mixin selector
      official h Lgd;h:Lgd;
      intermediary field_11076 Lnet/minecraft/class_2355;field_11076:Lnet/minecraft/class_2355;
      named NORTH_WEST Lnet/minecraft/util/EightWayDirection;NORTH_WEST:Lnet/minecraft/util/EightWayDirection;
  • Field Details

    • directions

      private final Set<Direction> directions
      Mappings:
      Namespace Name Mixin selector
      official i Lgd;i:Ljava/util/Set;
      intermediary field_11078 Lnet/minecraft/class_2355;field_11078:Ljava/util/Set;
      named directions Lnet/minecraft/util/EightWayDirection;directions:Ljava/util/Set;
  • Constructor Details

    • EightWayDirection

      private EightWayDirection​(Direction[] direction)
  • Method Details

    • values

      public static EightWayDirection[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EightWayDirection valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDirections

      public Set<Direction> getDirections()
      Mappings:
      Namespace Name Mixin selector
      official a Lgd;a()Ljava/util/Set;
      intermediary method_10186 Lnet/minecraft/class_2355;method_10186()Ljava/util/Set;
      named getDirections Lnet/minecraft/util/EightWayDirection;getDirections()Ljava/util/Set;