Enum Class Relative

java.lang.Object
java.lang.Enum<Relative>
net.minecraft.world.entity.Relative
All Implemented Interfaces:
Serializable, Comparable<Relative>, Constable

public enum Relative extends Enum<Relative>
  • Enum Constant Details

    • 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
  • Field Details

    • 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
  • Constructor Details

    • Relative

      private Relative(int p_371238_)
  • Method Details

    • values

      public static Relative[] 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 Relative 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
    • union

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

      private int getMask()
    • isSet

      private boolean isSet(int p_371275_)
    • unpack

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

      public static int pack(Set<Relative> p_371953_)