Enum Class MirrorAxis

java.lang.Object
java.lang.Enum<MirrorAxis>
com.blamejared.crafttweaker.api.recipe.MirrorAxis
All Implemented Interfaces:
Serializable, Comparable<MirrorAxis>, Constable

@ZenRegister public enum MirrorAxis extends Enum<MirrorAxis>
Defines how a recipe should be mirrored.
  • Enum Constant Details

    • ALL

      public static final MirrorAxis ALL
      Mirror the recipe on all axes.
    • DIAGONAL

      public static final MirrorAxis DIAGONAL
      Mirror the recipe diagonally.
    • HORIZONTAL

      public static final MirrorAxis HORIZONTAL
      Mirror the recipe horizontally.
    • NONE

      public static final MirrorAxis NONE
      Do not mirror the recipe.
    • VERTICAL

      public static final MirrorAxis VERTICAL
      Mirror the recipe vertically.
  • Method Details

    • values

      public static MirrorAxis[] 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 MirrorAxis 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
    • isMirrored

      public boolean isMirrored()
    • isHorizontal

      public boolean isHorizontal()
    • isVertical

      public boolean isVertical()
    • isDiagonal

      public boolean isDiagonal()