Class WinGameScreen

All Implemented Interfaces:
IGuiEventListener, INestedGuiEventHandler, IRenderable, IScreen

public class WinGameScreen extends Screen
  • Field Details

    • LOGGER

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

      private static final ResourceLocation LOGO_LOCATION
    • EDITION_LOCATION

      private static final ResourceLocation EDITION_LOCATION
    • VIGNETTE_LOCATION

      private static final ResourceLocation VIGNETTE_LOCATION
    • OBFUSCATE_TOKEN

      private static final String OBFUSCATE_TOKEN
    • poem

      private final boolean poem
    • onFinished

      private final Runnable onFinished
    • time

      private float time
    • lines

      private List<IReorderingProcessor> lines
    • centeredLines

      private it.unimi.dsi.fastutil.ints.IntSet centeredLines
    • totalScrollLength

      private int totalScrollLength
    • scrollSpeed

      private float scrollSpeed
  • Constructor Details

    • WinGameScreen

      public WinGameScreen(boolean p_i47590_1_, Runnable p_i47590_2_)
  • Method Details

    • tick

      public void tick()
      Specified by:
      tick in interface IScreen
      Overrides:
      tick in class Screen
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
    • respawn

      private void respawn()
    • init

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

      private void renderBg(int p_146575_1_, int p_146575_2_, float p_146575_3_)
    • 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