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 bwt
  • 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 Lbwt;a:Lbwt;
    • 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 Lbwt;b:Lbwt;
    • 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 Lbwt;c:Lbwt;
    • 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 Lbwt;d:Lbwt;
    • 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 Lbwt;e:Lbwt;
    • DELTA_X

      public static final PositionFlag DELTA_X
      Mappings:
      Namespace Name Mixin selector
      named DELTA_X Lnet/minecraft/network/packet/s2c/play/PositionFlag;DELTA_X:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
      intermediary field_54090 Lnet/minecraft/class_2709;field_54090:Lnet/minecraft/class_2709;
      official f Lbwt;f:Lbwt;
    • DELTA_Y

      public static final PositionFlag DELTA_Y
      Mappings:
      Namespace Name Mixin selector
      named DELTA_Y Lnet/minecraft/network/packet/s2c/play/PositionFlag;DELTA_Y:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
      intermediary field_54091 Lnet/minecraft/class_2709;field_54091:Lnet/minecraft/class_2709;
      official g Lbwt;g:Lbwt;
    • DELTA_Z

      public static final PositionFlag DELTA_Z
      Mappings:
      Namespace Name Mixin selector
      named DELTA_Z Lnet/minecraft/network/packet/s2c/play/PositionFlag;DELTA_Z:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
      intermediary field_54092 Lnet/minecraft/class_2709;field_54092:Lnet/minecraft/class_2709;
      official h Lbwt;h:Lbwt;
    • ROTATE_DELTA

      public static final PositionFlag ROTATE_DELTA
      Mappings:
      Namespace Name Mixin selector
      named ROTATE_DELTA Lnet/minecraft/network/packet/s2c/play/PositionFlag;ROTATE_DELTA:Lnet/minecraft/network/packet/s2c/play/PositionFlag;
      intermediary field_54093 Lnet/minecraft/class_2709;field_54093:Lnet/minecraft/class_2709;
      official i Lbwt;i:Lbwt;
  • 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 j Lbwt;j: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 k Lbwt;k:Ljava/util/Set;
    • DELTA

      public static final Set<PositionFlag> DELTA
      Mappings:
      Namespace Name Mixin selector
      named DELTA Lnet/minecraft/network/packet/s2c/play/PositionFlag;DELTA:Ljava/util/Set;
      intermediary field_54094 Lnet/minecraft/class_2709;field_54094:Ljava/util/Set;
      official l Lbwt;l:Ljava/util/Set;
    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,Set<PositionFlag>> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/network/packet/s2c/play/PositionFlag;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_54095 Lnet/minecraft/class_2709;field_54095:Lnet/minecraft/class_9139;
      official m Lbwt;m:Lzt;
    • 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 n Lbwt;n: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> Lbwt;<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
    • combine

      @SafeVarargs public static Set<PositionFlag> combine(Set<PositionFlag>[] sets)
      Mappings:
      Namespace Name Mixin selector
      named combine Lnet/minecraft/network/packet/s2c/play/PositionFlag;combine([Ljava/util/Set;)Ljava/util/Set;
      intermediary method_63641 Lnet/minecraft/class_2709;method_63641([Ljava/util/Set;)Ljava/util/Set;
      official a Lbwt;a([Ljava/util/Set;)Ljava/util/Set;
    • 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 Lbwt;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 Lbwt;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 Lbwt;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 Lbwt;a(Ljava/util/Set;)I