java.lang.Object
com.hypixel.hytale.server.core.modules.debug.DebugUtils

public class DebugUtils extends Object
  • Field Details

    • DISPLAY_FORCES

      public static boolean DISPLAY_FORCES
  • Constructor Details

    • DebugUtils

      public DebugUtils()
  • Method Details

    • add

      public static void add(@Nonnull World world, @Nonnull DebugShape shape, @Nonnull Matrix4d matrix, @Nonnull Vector3f color, float time, boolean fade)
    • addFrustum

      public static void addFrustum(@Nonnull World world, @Nonnull Matrix4d matrix, @Nonnull Matrix4d frustumProjection, @Nonnull Vector3f color, float time, boolean fade)
    • clear

      public static void clear(@Nonnull World world)
    • addArrow

      public static void addArrow(@Nonnull World world, @Nonnull Matrix4d baseMatrix, @Nonnull Vector3f color, double length, float time, boolean fade)
    • addSphere

      public static void addSphere(@Nonnull World world, @Nonnull Vector3d pos, @Nonnull Vector3f color, double scale, float time)
    • addCone

      public static void addCone(@Nonnull World world, @Nonnull Vector3d pos, @Nonnull Vector3f color, double scale, float time)
    • addCube

      public static void addCube(@Nonnull World world, @Nonnull Vector3d pos, @Nonnull Vector3f color, double scale, float time)
    • addCylinder

      public static void addCylinder(@Nonnull World world, @Nonnull Vector3d pos, @Nonnull Vector3f color, double scale, float time)
    • addArrow

      public static void addArrow(@Nonnull World world, @Nonnull Vector3d position, @Nonnull Vector3d direction, @Nonnull Vector3f color, float time, boolean fade)
    • addForce

      public static void addForce(@Nonnull World world, @Nonnull Vector3d position, @Nonnull Vector3d force, @Nullable VelocityConfig velocityConfig)
    • makeMatrix

      @Nonnull private static Matrix4d makeMatrix(@Nonnull Vector3d pos, double scale)