Enum Class 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>, Constable
Enclosing class:
PlayerPositionLookS2CPacket

public static enum PlayerPositionLookS2CPacket.Flag extends Enum<PlayerPositionLookS2CPacket.Flag>
Mappings:
Namespace Name
official vl$a
intermediary net/minecraft/class_2708$class_2709
named net/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket$Flag
  • Enum Constant Details

    • X

      public static final PlayerPositionLookS2CPacket.Flag X
      Mappings:
      Namespace Name Mixin selector
      official a Lvl$a;a:Lvl$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

      public static final PlayerPositionLookS2CPacket.Flag Y
      Mappings:
      Namespace Name Mixin selector
      official b Lvl$a;b:Lvl$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

      public static final PlayerPositionLookS2CPacket.Flag Z
      Mappings:
      Namespace Name Mixin selector
      official c Lvl$a;c:Lvl$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

      public static final PlayerPositionLookS2CPacket.Flag Y_ROT
      Mappings:
      Namespace Name Mixin selector
      official d Lvl$a;d:Lvl$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

      public static final PlayerPositionLookS2CPacket.Flag X_ROT
      Mappings:
      Namespace Name Mixin selector
      official e Lvl$a;e:Lvl$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 Lvl$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> Lvl$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

      public static PlayerPositionLookS2CPacket.Flag[] 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

      public static PlayerPositionLookS2CPacket.Flag valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getMask

      private int getMask()
      Mappings:
      Namespace Name Mixin selector
      official a Lvl$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 mask)
      Mappings:
      Namespace Name Mixin selector
      official b Lvl$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

      public static Set<PlayerPositionLookS2CPacket.Flag> getFlags(int mask)
      Mappings:
      Namespace Name Mixin selector
      official a Lvl$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

      public static int getBitfield(Set<PlayerPositionLookS2CPacket.Flag> flags)
      Mappings:
      Namespace Name Mixin selector
      official a Lvl$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