Package net.minecraft.util.math
Enum Class EightWayDirection
- All Implemented Interfaces:
Serializable
,Comparable<EightWayDirection>
,Constable
- Mappings:
Namespace Name official gz
intermediary net/minecraft/class_2355
named net/minecraft/util/math/EightWayDirection
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
static EightWayDirection
Returns 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 official a
Lgz;a:Lgz;
intermediary field_11069
Lnet/minecraft/class_2355;field_11069:Lnet/minecraft/class_2355;
named NORTH
Lnet/minecraft/util/math/EightWayDirection;NORTH:Lnet/minecraft/util/math/EightWayDirection;
-
NORTH_EAST
- Mappings:
Namespace Name Mixin selector official b
Lgz;b:Lgz;
intermediary field_11074
Lnet/minecraft/class_2355;field_11074:Lnet/minecraft/class_2355;
named NORTH_EAST
Lnet/minecraft/util/math/EightWayDirection;NORTH_EAST:Lnet/minecraft/util/math/EightWayDirection;
-
EAST
- Mappings:
Namespace Name Mixin selector official c
Lgz;c:Lgz;
intermediary field_11075
Lnet/minecraft/class_2355;field_11075:Lnet/minecraft/class_2355;
named EAST
Lnet/minecraft/util/math/EightWayDirection;EAST:Lnet/minecraft/util/math/EightWayDirection;
-
SOUTH_EAST
- Mappings:
Namespace Name Mixin selector official d
Lgz;d:Lgz;
intermediary field_11070
Lnet/minecraft/class_2355;field_11070:Lnet/minecraft/class_2355;
named SOUTH_EAST
Lnet/minecraft/util/math/EightWayDirection;SOUTH_EAST:Lnet/minecraft/util/math/EightWayDirection;
-
SOUTH
- Mappings:
Namespace Name Mixin selector official e
Lgz;e:Lgz;
intermediary field_11073
Lnet/minecraft/class_2355;field_11073:Lnet/minecraft/class_2355;
named SOUTH
Lnet/minecraft/util/math/EightWayDirection;SOUTH:Lnet/minecraft/util/math/EightWayDirection;
-
SOUTH_WEST
- Mappings:
Namespace Name Mixin selector official f
Lgz;f:Lgz;
intermediary field_11068
Lnet/minecraft/class_2355;field_11068:Lnet/minecraft/class_2355;
named SOUTH_WEST
Lnet/minecraft/util/math/EightWayDirection;SOUTH_WEST:Lnet/minecraft/util/math/EightWayDirection;
-
WEST
- Mappings:
Namespace Name Mixin selector official g
Lgz;g:Lgz;
intermediary field_11072
Lnet/minecraft/class_2355;field_11072:Lnet/minecraft/class_2355;
named WEST
Lnet/minecraft/util/math/EightWayDirection;WEST:Lnet/minecraft/util/math/EightWayDirection;
-
NORTH_WEST
- Mappings:
Namespace Name Mixin selector official h
Lgz;h:Lgz;
intermediary field_11076
Lnet/minecraft/class_2355;field_11076:Lnet/minecraft/class_2355;
named NORTH_WEST
Lnet/minecraft/util/math/EightWayDirection;NORTH_WEST:Lnet/minecraft/util/math/EightWayDirection;
-
-
Field Details
-
directions
- Mappings:
Namespace Name Mixin selector official i
Lgz;i:Ljava/util/Set;
intermediary field_11078
Lnet/minecraft/class_2355;field_11078:Ljava/util/Set;
named directions
Lnet/minecraft/util/math/EightWayDirection;directions:Ljava/util/Set;
-
field_37995
- Mappings:
Namespace Name Mixin selector official j
Lgz;j:Lhs;
intermediary field_37995
Lnet/minecraft/class_2355;field_37995:Lnet/minecraft/class_2382;
named field_37995
Lnet/minecraft/util/math/EightWayDirection;field_37995:Lnet/minecraft/util/math/Vec3i;
-
-
Constructor Details
-
EightWayDirection
- Mappings:
Namespace Name Mixin selector official <init>
Lgz;<init>(Ljava/lang/String;I[Lgy;)V
intermediary <init>
Lnet/minecraft/class_2355;<init>(Ljava/lang/String;I[Lnet/minecraft/class_2350;)V
named <init>
Lnet/minecraft/util/math/EightWayDirection;<init>(Ljava/lang/String;I[Lnet/minecraft/util/math/Direction;)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 official a
Lgz;a()Ljava/util/Set;
intermediary method_10186
Lnet/minecraft/class_2355;method_10186()Ljava/util/Set;
named getDirections
Lnet/minecraft/util/math/EightWayDirection;getDirections()Ljava/util/Set;
-
method_42015
public int method_42015()- Mappings:
Namespace Name Mixin selector official b
Lgz;b()I
intermediary method_42015
Lnet/minecraft/class_2355;method_42015()I
named method_42015
Lnet/minecraft/util/math/EightWayDirection;method_42015()I
-
method_42016
public int method_42016()- Mappings:
Namespace Name Mixin selector official c
Lgz;c()I
intermediary method_42016
Lnet/minecraft/class_2355;method_42016()I
named method_42016
Lnet/minecraft/util/math/EightWayDirection;method_42016()I
-