Package net.minecraft.util
Enum EightWayDirection
- All Implemented Interfaces:
Serializable,Comparable<EightWayDirection>,java.lang.constant.Constable
- Mappings:
Namespace Name official ghintermediary net/minecraft/class_2355named net/minecraft/util/EightWayDirection
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EightWayDirectionReturns the enum constant of this type with the specified name.static EightWayDirection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORTH
- Mappings:
Namespace Name Mixin selector official aLgh;a:Lgh;intermediary field_11069Lnet/minecraft/class_2355;field_11069:Lnet/minecraft/class_2355;named NORTHLnet/minecraft/util/EightWayDirection;NORTH:Lnet/minecraft/util/EightWayDirection;
-
NORTH_EAST
- Mappings:
Namespace Name Mixin selector official bLgh;b:Lgh;intermediary field_11074Lnet/minecraft/class_2355;field_11074:Lnet/minecraft/class_2355;named NORTH_EASTLnet/minecraft/util/EightWayDirection;NORTH_EAST:Lnet/minecraft/util/EightWayDirection;
-
EAST
- Mappings:
Namespace Name Mixin selector official cLgh;c:Lgh;intermediary field_11075Lnet/minecraft/class_2355;field_11075:Lnet/minecraft/class_2355;named EASTLnet/minecraft/util/EightWayDirection;EAST:Lnet/minecraft/util/EightWayDirection;
-
SOUTH_EAST
- Mappings:
Namespace Name Mixin selector official dLgh;d:Lgh;intermediary field_11070Lnet/minecraft/class_2355;field_11070:Lnet/minecraft/class_2355;named SOUTH_EASTLnet/minecraft/util/EightWayDirection;SOUTH_EAST:Lnet/minecraft/util/EightWayDirection;
-
SOUTH
- Mappings:
Namespace Name Mixin selector official eLgh;e:Lgh;intermediary field_11073Lnet/minecraft/class_2355;field_11073:Lnet/minecraft/class_2355;named SOUTHLnet/minecraft/util/EightWayDirection;SOUTH:Lnet/minecraft/util/EightWayDirection;
-
SOUTH_WEST
- Mappings:
Namespace Name Mixin selector official fLgh;f:Lgh;intermediary field_11068Lnet/minecraft/class_2355;field_11068:Lnet/minecraft/class_2355;named SOUTH_WESTLnet/minecraft/util/EightWayDirection;SOUTH_WEST:Lnet/minecraft/util/EightWayDirection;
-
WEST
- Mappings:
Namespace Name Mixin selector official gLgh;g:Lgh;intermediary field_11072Lnet/minecraft/class_2355;field_11072:Lnet/minecraft/class_2355;named WESTLnet/minecraft/util/EightWayDirection;WEST:Lnet/minecraft/util/EightWayDirection;
-
NORTH_WEST
- Mappings:
Namespace Name Mixin selector official hLgh;h:Lgh;intermediary field_11076Lnet/minecraft/class_2355;field_11076:Lnet/minecraft/class_2355;named NORTH_WESTLnet/minecraft/util/EightWayDirection;NORTH_WEST:Lnet/minecraft/util/EightWayDirection;
-
-
Field Details
-
directions
- Mappings:
Namespace Name Mixin selector official iLgh;i:Ljava/util/Set;intermediary field_11078Lnet/minecraft/class_2355;field_11078:Ljava/util/Set;named directionsLnet/minecraft/util/EightWayDirection;directions:Ljava/util/Set;
-
-
Constructor Details
-
EightWayDirection
- Mappings:
Namespace Name Mixin selector official <init>Lgh;<init>(Ljava/lang/String;I[Lgg;)Vintermediary <init>Lnet/minecraft/class_2355;<init>(Ljava/lang/String;I[Lnet/minecraft/class_2350;)Vnamed <init>Lnet/minecraft/util/EightWayDirection;<init>(Ljava/lang/String;I[Lnet/minecraft/util/math/Direction;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getDirections
- Mappings:
Namespace Name Mixin selector official aLgh;a()Ljava/util/Set;intermediary method_10186Lnet/minecraft/class_2355;method_10186()Ljava/util/Set;named getDirectionsLnet/minecraft/util/EightWayDirection;getDirections()Ljava/util/Set;
-