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:
    • rayTraceDistance

      public static double rayTraceDistance
    • left_height

      public int left_height
    • right_height

      public int right_height
    • font

      private Font font
    • 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 poseStack, float partialTick)
      Overrides:
      render in class Gui
    • shouldDrawSurvivalElements

      public boolean shouldDrawSurvivalElements()
    • renderSubtitles

      protected void renderSubtitles(PoseStack poseStack)
    • renderBossHealth

      protected void renderBossHealth(PoseStack poseStack)
    • renderSpyglassOverlay

      private void renderSpyglassOverlay()
    • renderHelmet

      private void renderHelmet(float partialTick, PoseStack poseStack)
    • renderFrostbite

      private void renderFrostbite(PoseStack pStack)
    • renderArmor

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

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

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

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

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

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

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

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

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

      protected void renderFPSGraph(PoseStack poseStack)
    • renderRecordOverlay

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

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

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

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

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

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

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

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

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

      private void bind(ResourceLocation res)