Enum Class QuadCornerKicker.Corner

java.lang.Object
java.lang.Enum<QuadCornerKicker.Corner>
codechicken.lib.model.pipeline.transformers.QuadCornerKicker.Corner
All Implemented Interfaces:
Serializable, Comparable<QuadCornerKicker.Corner>, Constable
Enclosing class:
QuadCornerKicker

public static enum QuadCornerKicker.Corner extends Enum<QuadCornerKicker.Corner>
  • Enum Constant Details

  • Method Details

    • values

      public static QuadCornerKicker.Corner[] 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 QuadCornerKicker.Corner 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
    • fromSides

      public static QuadCornerKicker.Corner fromSides(int sideA, int sideB, int sideC)
      Used to find what corner is at the 3 sides. This method assumes you pass in the X axis side, Y axis side, and Z axis side, it will NOT complain about an invalid side, you will just get garbage data. This method also does not care what order the 3 axes are in.
      Parameters:
      sideA - Side one.
      sideB - Side two.
      sideC - Side three.
      Returns:
      The corner at the 3 sides.
    • pX

      public float pX(net.minecraft.world.phys.AABB box)
    • pY

      public float pY(net.minecraft.world.phys.AABB box)
    • pZ

      public float pZ(net.minecraft.world.phys.AABB box)