Class IngameGui

    • Field Detail

      • PUMPKIN_BLUR_LOCATION

        protected static final ResourceLocation PUMPKIN_BLUR_LOCATION
      • DEMO_EXPIRED_TEXT

        private static final ITextComponent DEMO_EXPIRED_TEXT
      • random

        protected final java.util.Random random
      • minecraft

        protected final Minecraft minecraft
      • 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
      • titleTime

        protected int titleTime
      • 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
    • Constructor Detail

      • IngameGui

        public IngameGui​(Minecraft p_i46325_1_)
    • Method Detail

      • 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_)
      • 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 java.util.UUID guessChatUUID​(ITextComponent p_244795_1_)
      • handleChat

        public void handleChat​(ChatType p_238450_1_,
                               ITextComponent p_238450_2_,
                               java.util.UUID p_238450_3_)
      • getGuiTicks

        public int getGuiTicks()
      • onDisconnected

        public void onDisconnected()
      • clearCache

        public void clearCache()