Class MathHelper

java.lang.Object
vazkii.botania.common.helper.MathHelper

public final class MathHelper extends Object
  • Constructor Details

    • MathHelper

      public MathHelper()
  • Method Details

    • angleBetween

      public static double angleBetween(net.minecraft.world.phys.Vec3 a, net.minecraft.world.phys.Vec3 b)
    • pointDistanceSpace

      public static float pointDistanceSpace(double x1, double y1, double z1, double x2, double y2, double z2)
    • pointDistancePlane

      public static float pointDistancePlane(double x1, double z1, double x2, double z2)
    • setEntityMotionFromVector

      public static void setEntityMotionFromVector(net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.Vec3 originalPosVector, float modifier)
    • multiplyColor

      public static int multiplyColor(int c1, int c2)
    • distSqr

      public static long distSqr(net.minecraft.core.Vec3i a, net.minecraft.core.Vec3i b)