Package net.minecraft.util.math
Enum Class EightWayDirection
- All Implemented Interfaces:
Serializable,Comparable<EightWayDirection>,Constable
- Mappings:
Namespace Name named net/minecraft/util/math/EightWayDirectionintermediary net/minecraft/class_2355official jh
-
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 TypeMethodDescriptionintintstatic EightWayDirectionReturns the enum constant of this class with the specified name.static EightWayDirection[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORTH
- Mappings:
Namespace Name Mixin selector named NORTHLnet/minecraft/util/math/EightWayDirection;NORTH:Lnet/minecraft/util/math/EightWayDirection;intermediary field_11069Lnet/minecraft/class_2355;field_11069:Lnet/minecraft/class_2355;official aLjh;a:Ljh;
-
NORTH_EAST
- Mappings:
Namespace Name Mixin selector named NORTH_EASTLnet/minecraft/util/math/EightWayDirection;NORTH_EAST:Lnet/minecraft/util/math/EightWayDirection;intermediary field_11074Lnet/minecraft/class_2355;field_11074:Lnet/minecraft/class_2355;official bLjh;b:Ljh;
-
EAST
- Mappings:
Namespace Name Mixin selector named EASTLnet/minecraft/util/math/EightWayDirection;EAST:Lnet/minecraft/util/math/EightWayDirection;intermediary field_11075Lnet/minecraft/class_2355;field_11075:Lnet/minecraft/class_2355;official cLjh;c:Ljh;
-
SOUTH_EAST
- Mappings:
Namespace Name Mixin selector named SOUTH_EASTLnet/minecraft/util/math/EightWayDirection;SOUTH_EAST:Lnet/minecraft/util/math/EightWayDirection;intermediary field_11070Lnet/minecraft/class_2355;field_11070:Lnet/minecraft/class_2355;official dLjh;d:Ljh;
-
SOUTH
- Mappings:
Namespace Name Mixin selector named SOUTHLnet/minecraft/util/math/EightWayDirection;SOUTH:Lnet/minecraft/util/math/EightWayDirection;intermediary field_11073Lnet/minecraft/class_2355;field_11073:Lnet/minecraft/class_2355;official eLjh;e:Ljh;
-
SOUTH_WEST
- Mappings:
Namespace Name Mixin selector named SOUTH_WESTLnet/minecraft/util/math/EightWayDirection;SOUTH_WEST:Lnet/minecraft/util/math/EightWayDirection;intermediary field_11068Lnet/minecraft/class_2355;field_11068:Lnet/minecraft/class_2355;official fLjh;f:Ljh;
-
WEST
- Mappings:
Namespace Name Mixin selector named WESTLnet/minecraft/util/math/EightWayDirection;WEST:Lnet/minecraft/util/math/EightWayDirection;intermediary field_11072Lnet/minecraft/class_2355;field_11072:Lnet/minecraft/class_2355;official gLjh;g:Ljh;
-
NORTH_WEST
- Mappings:
Namespace Name Mixin selector named NORTH_WESTLnet/minecraft/util/math/EightWayDirection;NORTH_WEST:Lnet/minecraft/util/math/EightWayDirection;intermediary field_11076Lnet/minecraft/class_2355;field_11076:Lnet/minecraft/class_2355;official hLjh;h:Ljh;
-
-
Field Details
-
directions
- Mappings:
Namespace Name Mixin selector named directionsLnet/minecraft/util/math/EightWayDirection;directions:Ljava/util/Set;intermediary field_11078Lnet/minecraft/class_2355;field_11078:Ljava/util/Set;official iLjh;i:Ljava/util/Set;
-
offset
- Mappings:
Namespace Name Mixin selector named offsetLnet/minecraft/util/math/EightWayDirection;offset:Lnet/minecraft/util/math/Vec3i;intermediary field_37995Lnet/minecraft/class_2355;field_37995:Lnet/minecraft/class_2382;official jLjh;j:Lkf;
-
-
Constructor Details
-
EightWayDirection
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/util/math/EightWayDirection;<init>(Ljava/lang/String;I[Lnet/minecraft/util/math/Direction;)Vintermediary <init>Lnet/minecraft/class_2355;<init>(Ljava/lang/String;I[Lnet/minecraft/class_2350;)Vofficial <init>Ljh;<init>(Ljava/lang/String;I[Ljg;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getDirections
- Mappings:
Namespace Name Mixin selector named getDirectionsLnet/minecraft/util/math/EightWayDirection;getDirections()Ljava/util/Set;intermediary method_10186Lnet/minecraft/class_2355;method_10186()Ljava/util/Set;official aLjh;a()Ljava/util/Set;
-
getOffsetX
public int getOffsetX()- Mappings:
Namespace Name Mixin selector named getOffsetXLnet/minecraft/util/math/EightWayDirection;getOffsetX()Iintermediary method_42015Lnet/minecraft/class_2355;method_42015()Iofficial bLjh;b()I
-
getOffsetZ
public int getOffsetZ()- Mappings:
Namespace Name Mixin selector named getOffsetZLnet/minecraft/util/math/EightWayDirection;getOffsetZ()Iintermediary method_42016Lnet/minecraft/class_2355;method_42016()Iofficial cLjh;c()I
-