Enum Class PositionFlag

java.lang.Object
java.lang.Enum<PositionFlag>
net.minecraft.network.packet.s2c.play.PositionFlag
All Implemented Interfaces:
Serializable, Comparable<PositionFlag>, Constable

public enum PositionFlag extends Enum<PositionFlag>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/PositionFlag
intermediary net/minecraft/class_2709
official buf
  • Enum Constant Details

    • X

      public static final PositionFlag 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

      public static final PositionFlag 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

      public static final PositionFlag 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

      public static final PositionFlag 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

      public static final PositionFlag 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

      public static final Set<PositionFlag> 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

      public static final Set<PositionFlag> 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

      public static PositionFlag[] 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 PositionFlag 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
      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

      public static Set<PositionFlag> getFlags(int mask)
      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

      public static int getBitfield(Set<PositionFlag> flags)
      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