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
official bju
intermediary net/minecraft/class_2709
named net/minecraft/network/packet/s2c/play/PositionFlag
  • Enum Constant Details

    • X

      public static final PositionFlag X
      Mappings:
      Namespace Name Mixin selector
      official a Lbju;a:Lbju;
      intermediary field_12400 Lnet/minecraft/class_2709;field_12400:Lnet/minecraft/class_2709;
      named X Lnet/minecraft/network/packet/s2c/play/PositionFlag;X:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
    • Y

      public static final PositionFlag Y
      Mappings:
      Namespace Name Mixin selector
      official b Lbju;b:Lbju;
      intermediary field_12398 Lnet/minecraft/class_2709;field_12398:Lnet/minecraft/class_2709;
      named Y Lnet/minecraft/network/packet/s2c/play/PositionFlag;Y:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
    • Z

      public static final PositionFlag Z
      Mappings:
      Namespace Name Mixin selector
      official c Lbju;c:Lbju;
      intermediary field_12403 Lnet/minecraft/class_2709;field_12403:Lnet/minecraft/class_2709;
      named Z Lnet/minecraft/network/packet/s2c/play/PositionFlag;Z:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
    • Y_ROT

      public static final PositionFlag Y_ROT
      Mappings:
      Namespace Name Mixin selector
      official d Lbju;d:Lbju;
      intermediary field_12401 Lnet/minecraft/class_2709;field_12401:Lnet/minecraft/class_2709;
      named Y_ROT Lnet/minecraft/network/packet/s2c/play/PositionFlag;Y_ROT:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
    • X_ROT

      public static final PositionFlag X_ROT
      Mappings:
      Namespace Name Mixin selector
      official e Lbju;e:Lbju;
      intermediary field_12397 Lnet/minecraft/class_2709;field_12397:Lnet/minecraft/class_2709;
      named X_ROT Lnet/minecraft/network/packet/s2c/play/PositionFlag;X_ROT:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
  • Field Details

    • VALUES

      public static final Set<PositionFlag> VALUES
      Mappings:
      Namespace Name Mixin selector
      official f Lbju;f:Ljava/util/Set;
      intermediary field_40710 Lnet/minecraft/class_2709;field_40710:Ljava/util/Set;
      named VALUES Lnet/minecraft/network/packet/s2c/play/PositionFlag;VALUES:Ljava/util/Set;
    • ROT

      public static final Set<PositionFlag> ROT
      Mappings:
      Namespace Name Mixin selector
      official g Lbju;g:Ljava/util/Set;
      intermediary field_40711 Lnet/minecraft/class_2709;field_40711:Ljava/util/Set;
      named ROT Lnet/minecraft/network/packet/s2c/play/PositionFlag;ROT:Ljava/util/Set;
    • shift

      private final int shift
      Mappings:
      Namespace Name Mixin selector
      official h Lbju;h:I
      intermediary field_12399 Lnet/minecraft/class_2709;field_12399:I
      named shift Lnet/minecraft/network/packet/s2c/play/PositionFlag;shift:I
  • Constructor Details

    • PositionFlag

      private PositionFlag(int shift)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbju;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_2709;<init>(Ljava/lang/String;II)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PositionFlag;<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
      official a Lbju;a()I
      intermediary method_11742 Lnet/minecraft/class_2709;method_11742()I
      named getMask Lnet/minecraft/network/packet/s2c/play/PositionFlag;getMask()I
    • isSet

      private boolean isSet(int mask)
      Mappings:
      Namespace Name Mixin selector
      official b Lbju;b(I)Z
      intermediary method_11743 Lnet/minecraft/class_2709;method_11743(I)Z
      named isSet Lnet/minecraft/network/packet/s2c/play/PositionFlag;isSet(I)Z
    • getFlags

      public static Set<PositionFlag> getFlags(int mask)
      Mappings:
      Namespace Name Mixin selector
      official a Lbju;a(I)Ljava/util/Set;
      intermediary method_11744 Lnet/minecraft/class_2709;method_11744(I)Ljava/util/Set;
      named getFlags Lnet/minecraft/network/packet/s2c/play/PositionFlag;getFlags(I)Ljava/util/Set;
    • getBitfield

      public static int getBitfield(Set<PositionFlag> flags)
      Mappings:
      Namespace Name Mixin selector
      official a Lbju;a(Ljava/util/Set;)I
      intermediary method_11741 Lnet/minecraft/class_2709;method_11741(Ljava/util/Set;)I
      named getBitfield Lnet/minecraft/network/packet/s2c/play/PositionFlag;getBitfield(Ljava/util/Set;)I