Class HUDHandler

java.lang.Object
vazkii.botania.client.gui.HUDHandler

public final class HUDHandler extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    drawComplexManaHUD(int color, net.minecraft.client.gui.GuiGraphics gui, int mana, int maxMana, String name, net.minecraft.world.item.ItemStack bindDisplay, boolean properlyBound)
    Renders a mana HUD below the crosshair, containing a mana bar, a name above, and a bound item status to the right
    static void
    drawSimpleManaHUD(net.minecraft.client.gui.GuiGraphics gui, int color, int mana, int maxMana, String name)
    Renders a mana HUD below the crosshair, containing just a mana bar and a name above
    static void
    onDrawScreenPost(net.minecraft.client.gui.GuiGraphics gui, net.minecraft.client.DeltaTracker partialTicks)
     
    static void
    renderManaBar(net.minecraft.client.gui.GuiGraphics gui, int x, int y, int color, float alpha, int mana, int maxMana)
     
    static void
     

    Methods inherited from class java.lang.Object

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

    • manaBar

      public static final net.minecraft.resources.ResourceLocation manaBar
  • Method Details

    • tryOptifineWarning

      public static void tryOptifineWarning()
    • onDrawScreenPost

      public static void onDrawScreenPost(net.minecraft.client.gui.GuiGraphics gui, net.minecraft.client.DeltaTracker partialTicks)
    • drawSimpleManaHUD

      public static void drawSimpleManaHUD(net.minecraft.client.gui.GuiGraphics gui, int color, int mana, int maxMana, String name)
      Renders a mana HUD below the crosshair, containing just a mana bar and a name above
    • drawComplexManaHUD

      public static void drawComplexManaHUD(int color, net.minecraft.client.gui.GuiGraphics gui, int mana, int maxMana, String name, net.minecraft.world.item.ItemStack bindDisplay, boolean properlyBound)
      Renders a mana HUD below the crosshair, containing a mana bar, a name above, and a bound item status to the right
    • renderManaBar

      public static void renderManaBar(net.minecraft.client.gui.GuiGraphics gui, int x, int y, int color, float alpha, int mana, int maxMana)