Class ExpandDirection
java.lang.Object
com.blamejared.crafttweaker.natives.util.direction.ExpandDirection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.core.Direction.AxisgetAxis(net.minecraft.core.Direction internal) static net.minecraft.core.Direction.AxisDirectiongetAxisDirection(net.minecraft.core.Direction internal) static net.minecraft.core.DirectiongetClockWise(net.minecraft.core.Direction internal) static net.minecraft.core.DirectiongetClockWise(net.minecraft.core.Direction internal, net.minecraft.core.Direction.Axis axis) static net.minecraft.core.DirectiongetCounterClockWise(net.minecraft.core.Direction internal) static net.minecraft.core.DirectiongetCounterClockWise(net.minecraft.core.Direction internal, net.minecraft.core.Direction.Axis axis) static StringgetName(net.minecraft.core.Direction internal) static net.minecraft.core.Vec3igetNormal(net.minecraft.core.Direction internal) static net.minecraft.core.DirectiongetOpposite(net.minecraft.core.Direction internal) static org.joml.QuaternionfgetRotation(net.minecraft.core.Direction internal) static intgetStepX(net.minecraft.core.Direction internal) static intgetStepY(net.minecraft.core.Direction internal) static intgetStepZ(net.minecraft.core.Direction internal) static booleanisFacingAngle(net.minecraft.core.Direction internal, float degrees) static org.joml.Vector3fstep(net.minecraft.core.Direction internal) static floattoYRot(net.minecraft.core.Direction internal)
-
Constructor Details
-
ExpandDirection
public ExpandDirection()
-
-
Method Details
-
getRotation
public static org.joml.Quaternionf getRotation(net.minecraft.core.Direction internal) -
getAxisDirection
public static net.minecraft.core.Direction.AxisDirection getAxisDirection(net.minecraft.core.Direction internal) -
getOpposite
public static net.minecraft.core.Direction getOpposite(net.minecraft.core.Direction internal) -
getClockWise
public static net.minecraft.core.Direction getClockWise(net.minecraft.core.Direction internal, net.minecraft.core.Direction.Axis axis) -
getCounterClockWise
public static net.minecraft.core.Direction getCounterClockWise(net.minecraft.core.Direction internal, net.minecraft.core.Direction.Axis axis) -
getClockWise
public static net.minecraft.core.Direction getClockWise(net.minecraft.core.Direction internal) -
getCounterClockWise
public static net.minecraft.core.Direction getCounterClockWise(net.minecraft.core.Direction internal) -
getStepX
public static int getStepX(net.minecraft.core.Direction internal) -
getStepY
public static int getStepY(net.minecraft.core.Direction internal) -
getStepZ
public static int getStepZ(net.minecraft.core.Direction internal) -
step
public static org.joml.Vector3f step(net.minecraft.core.Direction internal) -
getName
-
getAxis
public static net.minecraft.core.Direction.Axis getAxis(net.minecraft.core.Direction internal) -
toYRot
public static float toYRot(net.minecraft.core.Direction internal) -
getNormal
public static net.minecraft.core.Vec3i getNormal(net.minecraft.core.Direction internal) -
isFacingAngle
public static boolean isFacingAngle(net.minecraft.core.Direction internal, float degrees)
-