Class NametagUtils

java.lang.Object
meteordevelopment.meteorclient.utils.render.NametagUtils

public class NametagUtils extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static double
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    begin(org.joml.Vector3d pos)
     
    static void
    begin(org.joml.Vector3d pos, net.minecraft.client.gui.DrawContext drawContext)
     
    static void
    end()
     
    static void
    end(net.minecraft.client.gui.DrawContext drawContext)
     
    static void
    onRender(org.joml.Matrix4f modelView)
     
    static boolean
    to2D(org.joml.Vector3d pos, double scale)
     
    static boolean
    to2D(org.joml.Vector3d pos, double scale, boolean distanceScaling)
     
    static boolean
    to2D(org.joml.Vector3d pos, double scale, boolean distanceScaling, boolean allowBehind)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • scale

      public static double scale
  • Method Details

    • onRender

      public static void onRender(org.joml.Matrix4f modelView)
    • to2D

      public static boolean to2D(org.joml.Vector3d pos, double scale)
    • to2D

      public static boolean to2D(org.joml.Vector3d pos, double scale, boolean distanceScaling)
    • to2D

      public static boolean to2D(org.joml.Vector3d pos, double scale, boolean distanceScaling, boolean allowBehind)
    • begin

      public static void begin(org.joml.Vector3d pos)
    • begin

      public static void begin(org.joml.Vector3d pos, net.minecraft.client.gui.DrawContext drawContext)
    • end

      public static void end()
    • end

      public static void end(net.minecraft.client.gui.DrawContext drawContext)