Class StatsScreen

All Implemented Interfaces:
IGuiEventListener, INestedGuiEventHandler, IProgressMeter, IRenderable, IScreen

public class StatsScreen extends Screen implements IProgressMeter
  • Field Details

  • Constructor Details

  • Method Details

    • init

      protected void init()
      Overrides:
      init in class Screen
    • initLists

      public void initLists()
    • initButtons

      public void initButtons()
    • render

      public void render(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_)
      Specified by:
      render in interface IRenderable
      Overrides:
      render in class Screen
    • onStatsUpdated

      public void onStatsUpdated()
      Specified by:
      onStatsUpdated in interface IProgressMeter
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class Screen
    • getActiveList

      @Nullable public ExtendedList<?> getActiveList()
    • setActiveList

      public void setActiveList(@Nullable ExtendedList<?> p_213110_1_)
    • getTranslationKey

      private static String getTranslationKey(Stat<ResourceLocation> p_238672_0_)
    • getColumnX

      private int getColumnX(int p_195224_1_)
    • blitSlot

      private void blitSlot(MatrixStack p_238667_1_, int p_238667_2_, int p_238667_3_, Item p_238667_4_)
    • blitSlotIcon

      private void blitSlotIcon(MatrixStack p_238674_1_, int p_238674_2_, int p_238674_3_, int p_238674_4_, int p_238674_5_)