Class IngameGui

java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.IngameGui
Direct Known Subclasses:
ForgeIngameGui

public class IngameGui extends AbstractGui
  • Field Details

    • VIGNETTE_LOCATION

      protected static final ResourceLocation VIGNETTE_LOCATION
    • WIDGETS_LOCATION

      protected static final ResourceLocation WIDGETS_LOCATION
    • PUMPKIN_BLUR_LOCATION

      protected static final ResourceLocation PUMPKIN_BLUR_LOCATION
    • DEMO_EXPIRED_TEXT

      private static final ITextComponent DEMO_EXPIRED_TEXT
    • random

      protected final Random random
    • minecraft

      protected final Minecraft minecraft
    • itemRenderer

      protected final ItemRenderer itemRenderer
    • chat

      protected final NewChatGui chat
    • tickCount

      protected int tickCount
    • overlayMessageString

      @Nullable protected ITextComponent overlayMessageString
    • overlayMessageTime

      protected int overlayMessageTime
    • animateOverlayMessageColor

      protected boolean animateOverlayMessageColor
    • vignetteBrightness

      public float vignetteBrightness
    • toolHighlightTimer

      protected int toolHighlightTimer
    • lastToolHighlight

      protected ItemStack lastToolHighlight
    • debugScreen

      protected final DebugOverlayGui debugScreen
    • subtitleOverlay

      protected final SubtitleOverlayGui subtitleOverlay
    • spectatorGui

      protected final SpectatorGui spectatorGui
    • tabList

      protected final PlayerTabOverlayGui tabList
    • bossOverlay

      protected final BossOverlayGui bossOverlay
    • titleTime

      protected int titleTime
    • title

      @Nullable protected ITextComponent title
    • subtitle

      @Nullable protected ITextComponent subtitle
    • titleFadeInTime

      protected int titleFadeInTime
    • titleStayTime

      protected int titleStayTime
    • titleFadeOutTime

      protected int titleFadeOutTime
    • lastHealth

      protected int lastHealth
    • displayHealth

      protected int displayHealth
    • lastHealthTime

      protected long lastHealthTime
    • healthBlinkTime

      protected long healthBlinkTime
    • screenWidth

      protected int screenWidth
    • screenHeight

      protected int screenHeight
    • chatListeners

      protected final Map<ChatType,List<IChatListener>> chatListeners
  • Constructor Details

    • IngameGui

      public IngameGui(Minecraft p_i46325_1_)
  • Method Details

    • resetTitleTimes

      public void resetTitleTimes()
    • render

      public void render(MatrixStack p_238445_1_, float p_238445_2_)
    • drawBackdrop

      protected void drawBackdrop(MatrixStack p_238448_1_, FontRenderer p_238448_2_, int p_238448_3_, int p_238448_4_, int p_238448_5_)
    • renderCrosshair

      protected void renderCrosshair(MatrixStack p_238456_1_)
    • canRenderCrosshairForSpectator

      private boolean canRenderCrosshairForSpectator(RayTraceResult p_212913_1_)
    • renderEffects

      protected void renderEffects(MatrixStack p_238444_1_)
    • renderHotbar

      protected void renderHotbar(float p_238443_1_, MatrixStack p_238443_2_)
    • renderJumpMeter

      public void renderJumpMeter(MatrixStack p_238446_1_, int p_238446_2_)
    • renderExperienceBar

      public void renderExperienceBar(MatrixStack p_238454_1_, int p_238454_2_)
    • renderSelectedItemName

      public void renderSelectedItemName(MatrixStack p_238453_1_)
    • renderDemoOverlay

      public void renderDemoOverlay(MatrixStack p_238455_1_)
    • displayScoreboardSidebar

      protected void displayScoreboardSidebar(MatrixStack p_238447_1_, ScoreObjective p_238447_2_)
    • getCameraPlayer

      private PlayerEntity getCameraPlayer()
    • getPlayerVehicleWithHealth

      private LivingEntity getPlayerVehicleWithHealth()
    • getVehicleMaxHearts

      private int getVehicleMaxHearts(LivingEntity p_212306_1_)
    • getVisibleVehicleHeartRows

      private int getVisibleVehicleHeartRows(int p_212302_1_)
    • renderPlayerHealth

      private void renderPlayerHealth(MatrixStack p_238457_1_)
    • renderVehicleHealth

      private void renderVehicleHealth(MatrixStack p_238458_1_)
    • renderPumpkin

      protected void renderPumpkin()
    • updateVignetteBrightness

      private void updateVignetteBrightness(Entity p_212307_1_)
    • renderVignette

      protected void renderVignette(Entity p_212303_1_)
    • renderPortalOverlay

      protected void renderPortalOverlay(float p_194805_1_)
    • renderSlot

      private void renderSlot(int p_184044_1_, int p_184044_2_, float p_184044_3_, PlayerEntity p_184044_4_, ItemStack p_184044_5_)
    • tick

      public void tick()
    • setNowPlaying

      public void setNowPlaying(ITextComponent p_238451_1_)
    • setOverlayMessage

      public void setOverlayMessage(ITextComponent p_175188_1_, boolean p_175188_2_)
    • setTitles

      public void setTitles(@Nullable ITextComponent p_238452_1_, @Nullable ITextComponent p_238452_2_, int p_238452_3_, int p_238452_4_, int p_238452_5_)
    • guessChatUUID

      public UUID guessChatUUID(ITextComponent p_244795_1_)
    • handleChat

      public void handleChat(ChatType p_238450_1_, ITextComponent p_238450_2_, UUID p_238450_3_)
    • getChat

      public NewChatGui getChat()
    • getGuiTicks

      public int getGuiTicks()
    • getFont

      public FontRenderer getFont()
    • getSpectatorGui

      public SpectatorGui getSpectatorGui()
    • getTabList

      public PlayerTabOverlayGui getTabList()
    • onDisconnected

      public void onDisconnected()
    • getBossOverlay

      public BossOverlayGui getBossOverlay()
    • clearCache

      public void clearCache()