Class ForgeIngameGui


public class ForgeIngameGui extends Gui
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • WHITE

      private static final int WHITE
      See Also:
      Constant Field Values
    • rayTraceDistance

      public static double rayTraceDistance
    • left_height

      public int left_height
    • right_height

      public int right_height
    • fontrenderer

      private Font fontrenderer
    • eventParent

      private RenderGameOverlayEvent eventParent
    • debugOverlay

    • VIGNETTE_ELEMENT

      public static final IIngameOverlay VIGNETTE_ELEMENT
    • SPYGLASS_ELEMENT

      public static final IIngameOverlay SPYGLASS_ELEMENT
    • HELMET_ELEMENT

      public static final IIngameOverlay HELMET_ELEMENT
    • FROSTBITE_ELEMENT

      public static final IIngameOverlay FROSTBITE_ELEMENT
    • PORTAL_ELEMENT

      public static final IIngameOverlay PORTAL_ELEMENT
    • HOTBAR_ELEMENT

      public static final IIngameOverlay HOTBAR_ELEMENT
    • CROSSHAIR_ELEMENT

      public static final IIngameOverlay CROSSHAIR_ELEMENT
    • BOSS_HEALTH_ELEMENT

      public static final IIngameOverlay BOSS_HEALTH_ELEMENT
    • PLAYER_HEALTH_ELEMENT

      public static final IIngameOverlay PLAYER_HEALTH_ELEMENT
    • ARMOR_LEVEL_ELEMENT

      public static final IIngameOverlay ARMOR_LEVEL_ELEMENT
    • FOOD_LEVEL_ELEMENT

      public static final IIngameOverlay FOOD_LEVEL_ELEMENT
    • MOUNT_HEALTH_ELEMENT

      public static final IIngameOverlay MOUNT_HEALTH_ELEMENT
    • AIR_LEVEL_ELEMENT

      public static final IIngameOverlay AIR_LEVEL_ELEMENT
    • JUMP_BAR_ELEMENT

      public static final IIngameOverlay JUMP_BAR_ELEMENT
    • EXPERIENCE_BAR_ELEMENT

      public static final IIngameOverlay EXPERIENCE_BAR_ELEMENT
    • ITEM_NAME_ELEMENT

      public static final IIngameOverlay ITEM_NAME_ELEMENT
    • SLEEP_FADE_ELEMENT

      public static final IIngameOverlay SLEEP_FADE_ELEMENT
    • HUD_TEXT_ELEMENT

      public static final IIngameOverlay HUD_TEXT_ELEMENT
    • FPS_GRAPH_ELEMENT

      public static final IIngameOverlay FPS_GRAPH_ELEMENT
    • POTION_ICONS_ELEMENT

      public static final IIngameOverlay POTION_ICONS_ELEMENT
    • RECORD_OVERLAY_ELEMENT

      public static final IIngameOverlay RECORD_OVERLAY_ELEMENT
    • SUBTITLES_ELEMENT

      public static final IIngameOverlay SUBTITLES_ELEMENT
    • TITLE_TEXT_ELEMENT

      public static final IIngameOverlay TITLE_TEXT_ELEMENT
    • SCOREBOARD_ELEMENT

      public static final IIngameOverlay SCOREBOARD_ELEMENT
    • CHAT_PANEL_ELEMENT

      public static final IIngameOverlay CHAT_PANEL_ELEMENT
    • PLAYER_LIST_ELEMENT

      public static final IIngameOverlay PLAYER_LIST_ELEMENT
  • Constructor Details

    • ForgeIngameGui

      public ForgeIngameGui(Minecraft mc)
  • Method Details

    • setupOverlayRenderState

      public void setupOverlayRenderState(boolean blend, boolean depthText)
    • setupOverlayRenderState

      public void setupOverlayRenderState(boolean blend, boolean depthTest, @Nullable ResourceLocation texture)
    • render

      public void render(PoseStack pStack, float partialTicks)
      Overrides:
      render in class Gui
    • shouldDrawSurvivalElements

      public boolean shouldDrawSurvivalElements()
    • renderSubtitles

      protected void renderSubtitles(PoseStack mStack)
    • renderBossHealth

      protected void renderBossHealth(PoseStack mStack)
    • renderSpyglassOverlay

      private void renderSpyglassOverlay()
    • renderHelmet

      private void renderHelmet(float partialTicks, PoseStack mStack)
    • renderFrostbite

      private void renderFrostbite(PoseStack pStack)
    • renderArmor

      protected void renderArmor(PoseStack mStack, int width, int height)
    • renderPortalOverlay

      protected void renderPortalOverlay(float partialTicks)
      Overrides:
      renderPortalOverlay in class Gui
    • renderAir

      protected void renderAir(int width, int height, PoseStack mStack)
    • renderHealth

      public void renderHealth(int width, int height, PoseStack pStack)
    • renderFood

      public void renderFood(int width, int height, PoseStack mStack)
    • renderSleepFade

      protected void renderSleepFade(int width, int height, PoseStack mStack)
    • renderExperience

      protected void renderExperience(int x, PoseStack mStack)
    • renderJumpMeter

      public void renderJumpMeter(PoseStack mStack, int x)
      Overrides:
      renderJumpMeter in class Gui
    • renderHUDText

      protected void renderHUDText(int width, int height, PoseStack mStack)
    • renderFPSGraph

      protected void renderFPSGraph(PoseStack mStack)
    • renderRecordOverlay

      protected void renderRecordOverlay(int width, int height, float partialTicks, PoseStack pStack)
    • renderTitle

      protected void renderTitle(int width, int height, float partialTicks, PoseStack pStack)
    • renderChat

      protected void renderChat(int width, int height, PoseStack pStack)
    • renderPlayerList

      protected void renderPlayerList(int width, int height, PoseStack mStack)
    • renderHealthMount

      protected void renderHealthMount(int width, int height, PoseStack mStack)
    • pre

      private boolean pre(RenderGameOverlayEvent.ElementType type, PoseStack mStack)
    • post

      private void post(RenderGameOverlayEvent.ElementType type, PoseStack mStack)
    • pre

      private boolean pre(IIngameOverlay overlay, PoseStack mStack)
    • post

      private void post(IIngameOverlay overlay, PoseStack mStack)
    • bind

      private void bind(ResourceLocation res)