Enum PlayerPositionLookS2CPacket.Flag
java.lang.Object
java.lang.Enum<PlayerPositionLookS2CPacket.Flag>
net.minecraft.network.packet.s2c.play.PlayerPositionLookS2CPacket.Flag
- All Implemented Interfaces:
Serializable
,Comparable<PlayerPositionLookS2CPacket.Flag>
,java.lang.constant.Constable
- Enclosing class:
- PlayerPositionLookS2CPacket
public static enum PlayerPositionLookS2CPacket.Flag extends Enum<PlayerPositionLookS2CPacket.Flag>
- Mappings:
Namespace Name official rc$a
intermediary net/minecraft/class_2708$class_2709
named net/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private int
shift
-
Constructor Summary
Constructors Modifier Constructor Description private
Flag(int shift)
-
Method Summary
Modifier and Type Method Description static int
getBitfield(Set<PlayerPositionLookS2CPacket.Flag> set)
static Set<PlayerPositionLookS2CPacket.Flag>
getFlags(int int2)
private int
getMask()
private boolean
isSet(int int2)
static PlayerPositionLookS2CPacket.Flag
valueOf(String name)
Returns the enum constant of this type with the specified name.static PlayerPositionLookS2CPacket.Flag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
X
- Mappings:
Namespace Name Mixin selector official a
Lrc$a;a:Lrc$a;
intermediary field_12400
Lnet/minecraft/class_2708$class_2709;field_12400:Lnet/minecraft/class_2708$class_2709;
named X
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;X:Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;
-
Y
- Mappings:
Namespace Name Mixin selector official b
Lrc$a;b:Lrc$a;
intermediary field_12398
Lnet/minecraft/class_2708$class_2709;field_12398:Lnet/minecraft/class_2708$class_2709;
named Y
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;Y:Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;
-
Z
- Mappings:
Namespace Name Mixin selector official c
Lrc$a;c:Lrc$a;
intermediary field_12403
Lnet/minecraft/class_2708$class_2709;field_12403:Lnet/minecraft/class_2708$class_2709;
named Z
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;Z:Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;
-
Y_ROT
- Mappings:
Namespace Name Mixin selector official d
Lrc$a;d:Lrc$a;
intermediary field_12401
Lnet/minecraft/class_2708$class_2709;field_12401:Lnet/minecraft/class_2708$class_2709;
named Y_ROT
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;Y_ROT:Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;
-
X_ROT
- Mappings:
Namespace Name Mixin selector official e
Lrc$a;e:Lrc$a;
intermediary field_12397
Lnet/minecraft/class_2708$class_2709;field_12397:Lnet/minecraft/class_2708$class_2709;
named X_ROT
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;X_ROT:Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;
-
-
Field Details
-
shift
private final int shift- Mappings:
Namespace Name Mixin selector official f
Lrc$a;f:I
intermediary field_12399
Lnet/minecraft/class_2708$class_2709;field_12399:I
named shift
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;shift:I
-
-
Constructor Details
-
Flag
private Flag(int shift)- Mappings:
Namespace Name Mixin selector official <init>
Lrc$a;<init>(Ljava/lang/String;II)V
intermediary <init>
Lnet/minecraft/class_2708$class_2709;<init>(Ljava/lang/String;II)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;<init>(Ljava/lang/String;II)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
-
getMask
private int getMask()- Mappings:
Namespace Name Mixin selector official a
Lrc$a;a()I
intermediary method_11742
Lnet/minecraft/class_2708$class_2709;method_11742()I
named getMask
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;getMask()I
-
isSet
private boolean isSet(int int2)- Mappings:
Namespace Name Mixin selector official b
Lrc$a;b(I)Z
intermediary method_11743
Lnet/minecraft/class_2708$class_2709;method_11743(I)Z
named isSet
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;isSet(I)Z
-
getFlags
- Mappings:
Namespace Name Mixin selector official a
Lrc$a;a(I)Ljava/util/Set;
intermediary method_11744
Lnet/minecraft/class_2708$class_2709;method_11744(I)Ljava/util/Set;
named getFlags
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;getFlags(I)Ljava/util/Set;
-
getBitfield
- Mappings:
Namespace Name Mixin selector official a
Lrc$a;a(Ljava/util/Set;)I
intermediary method_11741
Lnet/minecraft/class_2708$class_2709;method_11741(Ljava/util/Set;)I
named getBitfield
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag;getBitfield(Ljava/util/Set;)I
-