java.lang.Object
java.lang.Enum<BiDirection>
com.refinedmods.refinedstorage.common.support.direction.BiDirection
All Implemented Interfaces:
Serializable, Comparable<BiDirection>, Constable, net.minecraft.util.StringRepresentable

public enum BiDirection extends Enum<BiDirection> implements net.minecraft.util.StringRepresentable
  • Enum Constant Details

  • Method Details

    • values

      public static BiDirection[] 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 BiDirection 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
    • forHorizontal

      public static BiDirection forHorizontal(net.minecraft.core.Direction horizontalDirection)
    • forUp

      public static BiDirection forUp(net.minecraft.core.Direction verticalDirection)
    • forDown

      public static BiDirection forDown(net.minecraft.core.Direction verticalDirection)
    • rotate

      public BiDirection rotate()
    • getVec

      public org.joml.Vector3f getVec()
    • getSerializedName

      public String getSerializedName()
      Specified by:
      getSerializedName in interface net.minecraft.util.StringRepresentable
    • getQuaternion

      public org.joml.Quaternionf getQuaternion()
    • asDirection

      public net.minecraft.core.Direction asDirection()