枚举类 Relative

java.lang.Object
java.lang.Enum<Relative>
net.minecraft.world.entity.Relative
所有已实现的接口:
Serializable, Comparable<Relative>, Constable

public enum Relative extends Enum<Relative>
  • 枚举常量详细资料

    • X

      public static final Relative X
    • Y

      public static final Relative Y
    • Z

      public static final Relative Z
    • Y_ROT

      public static final Relative Y_ROT
    • X_ROT

      public static final Relative X_ROT
    • DELTA_X

      public static final Relative DELTA_X
    • DELTA_Y

      public static final Relative DELTA_Y
    • DELTA_Z

      public static final Relative DELTA_Z
    • ROTATE_DELTA

      public static final Relative ROTATE_DELTA
  • 字段详细资料

    • ALL

      public static final Set<Relative> ALL
    • ROTATION

      public static final Set<Relative> ROTATION
    • DELTA

      public static final Set<Relative> DELTA
    • SET_STREAM_CODEC

      public static final StreamCodec<io.netty.buffer.ByteBuf,Set<Relative>> SET_STREAM_CODEC
    • bit

      private final int bit
  • 构造器详细资料

    • Relative

      private Relative(int p_367418_)
  • 方法详细资料

    • values

      public static Relative[] values()
      返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
      返回:
      包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
    • valueOf

      public static Relative valueOf(String name)
      返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类没有带有指定名称的常量
      NullPointerException - 如果参数为空值
    • union

      @SafeVarargs public static Set<Relative> union(Set<Relative>... p_360861_)
    • getMask

      private int getMask()
    • isSet

      private boolean isSet(int p_364108_)
    • unpack

      public static Set<Relative> unpack(int p_366469_)
    • pack

      public static int pack(Set<Relative> p_370231_)