Class RealmsBrokenWorldScreen

All Implemented Interfaces:
IGuiEventListener, INestedGuiEventHandler, IRenderable, IScreen

public class RealmsBrokenWorldScreen extends RealmsScreen
  • Field Details

    • LOGGER

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

      private final Screen lastScreen
    • mainScreen

      private final RealmsMainScreen mainScreen
    • serverData

      private RealmsServer serverData
    • serverId

      private final long serverId
    • message

      private final ITextComponent[] message
    • leftX

      private int leftX
    • rightX

      private int rightX
    • slotsThatHasBeenDownloaded

      private final List<Integer> slotsThatHasBeenDownloaded
    • animTick

      private int animTick
  • Constructor Details

    • RealmsBrokenWorldScreen

      public RealmsBrokenWorldScreen(Screen p_i232200_1_, RealmsMainScreen p_i232200_2_, long p_i232200_3_, boolean p_i232200_5_)
  • Method Details

    • init

      public void init()
      Overrides:
      init in class Screen
    • addButtons

      private void addButtons()
    • tick

      public void tick()
      Specified by:
      tick in interface IScreen
      Overrides:
      tick in class RealmsScreen
    • 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
    • getFramePositionX

      private int getFramePositionX(int p_224065_1_)
    • removed

      public void removed()
      Overrides:
      removed in class Screen
    • keyPressed

      public boolean keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_)
      Specified by:
      keyPressed in interface IGuiEventListener
      Specified by:
      keyPressed in interface INestedGuiEventHandler
      Overrides:
      keyPressed in class Screen
    • backButtonClicked

      private void backButtonClicked()
    • fetchServerData

      private void fetchServerData(long p_224068_1_)
    • doSwitchOrReset

      public void doSwitchOrReset()
    • downloadWorld

      private void downloadWorld(int p_224066_1_)
    • isMinigame

      private boolean isMinigame()
    • drawSlotFrame

      private void drawSlotFrame(MatrixStack p_237775_1_, int p_237775_2_, int p_237775_3_, int p_237775_4_, int p_237775_5_, boolean p_237775_6_, String p_237775_7_, int p_237775_8_, long p_237775_9_, String p_237775_11_, boolean p_237775_12_)