Enum Class PositionFlag
- All Implemented Interfaces:
Serializable
,Comparable<PositionFlag>
,Constable
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/PositionFlag
intermediary net/minecraft/class_2709
official buf
-
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
FieldsModifier and TypeFieldDescriptionstatic final Set
<PositionFlag> private final int
static final Set
<PositionFlag> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getBitfield
(Set<PositionFlag> flags) static Set
<PositionFlag> getFlags
(int mask) private int
getMask()
private boolean
isSet
(int mask) static PositionFlag
Returns the enum constant of this class with the specified name.static PositionFlag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
X
- Mappings:
Namespace Name Mixin selector named X
Lnet/minecraft/network/packet/s2c/play/PositionFlag;X:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
intermediary field_12400
Lnet/minecraft/class_2709;field_12400:Lnet/minecraft/class_2709;
official a
Lbuf;a:Lbuf;
-
Y
- Mappings:
Namespace Name Mixin selector named Y
Lnet/minecraft/network/packet/s2c/play/PositionFlag;Y:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
intermediary field_12398
Lnet/minecraft/class_2709;field_12398:Lnet/minecraft/class_2709;
official b
Lbuf;b:Lbuf;
-
Z
- Mappings:
Namespace Name Mixin selector named Z
Lnet/minecraft/network/packet/s2c/play/PositionFlag;Z:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
intermediary field_12403
Lnet/minecraft/class_2709;field_12403:Lnet/minecraft/class_2709;
official c
Lbuf;c:Lbuf;
-
Y_ROT
- Mappings:
Namespace Name Mixin selector named Y_ROT
Lnet/minecraft/network/packet/s2c/play/PositionFlag;Y_ROT:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
intermediary field_12401
Lnet/minecraft/class_2709;field_12401:Lnet/minecraft/class_2709;
official d
Lbuf;d:Lbuf;
-
X_ROT
- Mappings:
Namespace Name Mixin selector named X_ROT
Lnet/minecraft/network/packet/s2c/play/PositionFlag;X_ROT:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
intermediary field_12397
Lnet/minecraft/class_2709;field_12397:Lnet/minecraft/class_2709;
official e
Lbuf;e:Lbuf;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector named VALUES
Lnet/minecraft/network/packet/s2c/play/PositionFlag;VALUES:Ljava/util/Set;
intermediary field_40710
Lnet/minecraft/class_2709;field_40710:Ljava/util/Set;
official f
Lbuf;f:Ljava/util/Set;
-
ROT
- Mappings:
Namespace Name Mixin selector named ROT
Lnet/minecraft/network/packet/s2c/play/PositionFlag;ROT:Ljava/util/Set;
intermediary field_40711
Lnet/minecraft/class_2709;field_40711:Ljava/util/Set;
official g
Lbuf;g:Ljava/util/Set;
-
shift
private final int shift- Mappings:
Namespace Name Mixin selector named shift
Lnet/minecraft/network/packet/s2c/play/PositionFlag;shift:I
intermediary field_12399
Lnet/minecraft/class_2709;field_12399:I
official h
Lbuf;h:I
-
-
Constructor Details
-
PositionFlag
private PositionFlag(int shift) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/PositionFlag;<init>(Ljava/lang/String;II)V
intermediary <init>
Lnet/minecraft/class_2709;<init>(Ljava/lang/String;II)V
official <init>
Lbuf;<init>(Ljava/lang/String;II)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
-
getMask
private int getMask()- Mappings:
Namespace Name Mixin selector named getMask
Lnet/minecraft/network/packet/s2c/play/PositionFlag;getMask()I
intermediary method_11742
Lnet/minecraft/class_2709;method_11742()I
official a
Lbuf;a()I
-
isSet
private boolean isSet(int mask) - Mappings:
Namespace Name Mixin selector named isSet
Lnet/minecraft/network/packet/s2c/play/PositionFlag;isSet(I)Z
intermediary method_11743
Lnet/minecraft/class_2709;method_11743(I)Z
official b
Lbuf;b(I)Z
-
getFlags
- Mappings:
Namespace Name Mixin selector named getFlags
Lnet/minecraft/network/packet/s2c/play/PositionFlag;getFlags(I)Ljava/util/Set;
intermediary method_11744
Lnet/minecraft/class_2709;method_11744(I)Ljava/util/Set;
official a
Lbuf;a(I)Ljava/util/Set;
-
getBitfield
- Mappings:
Namespace Name Mixin selector named getBitfield
Lnet/minecraft/network/packet/s2c/play/PositionFlag;getBitfield(Ljava/util/Set;)I
intermediary method_11741
Lnet/minecraft/class_2709;method_11741(Ljava/util/Set;)I
official a
Lbuf;a(Ljava/util/Set;)I
-