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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic QuadCornerKicker.CornerfromSides(int sideA, int sideB, int sideC) Used to find what corner is at the 3 sides.floatpX(net.minecraft.world.phys.AABB box) floatpY(net.minecraft.world.phys.AABB box) floatpZ(net.minecraft.world.phys.AABB box) static QuadCornerKicker.CornerReturns the enum constant of this class with the specified name.static QuadCornerKicker.Corner[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MIN_X_MIN_Y_MIN_Z
-
MIN_X_MIN_Y_MAX_Z
-
MIN_X_MAX_Y_MIN_Z
-
MIN_X_MAX_Y_MAX_Z
-
MAX_X_MIN_Y_MIN_Z
-
MAX_X_MIN_Y_MAX_Z
-
MAX_X_MAX_Y_MIN_Z
-
MAX_X_MAX_Y_MAX_Z
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
fromSides
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)
-