Enum Class PrefabRotation

java.lang.Object
java.lang.Enum<PrefabRotation>
com.hypixel.hytale.server.core.prefab.PrefabRotation
All Implemented Interfaces:
Serializable, Comparable<PrefabRotation>, Constable

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

  • Field Details

  • Constructor Details

  • Method Details

    • values

      public static PrefabRotation[] 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 PrefabRotation 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
    • fromRotation

      @Nonnull public static PrefabRotation fromRotation(@Nonnull Rotation rotation)
    • valueOfExtended

      @Nonnull public static PrefabRotation valueOfExtended(@Nonnull String s)
    • add

      public PrefabRotation add(@Nonnull PrefabRotation other)
    • rotate

      public void rotate(@Nonnull Vector3d v)
    • rotate

      public void rotate(@Nonnull Vector3i v)
    • rotate

      public void rotate(@Nonnull Vector3l v)
    • getX

      public int getX(int x, int z)
    • getZ

      public int getZ(int x, int z)
    • getYaw

      public float getYaw()
    • getRotation

      public int getRotation(int rotation)
    • getFiller

      public int getFiller(int filler)