Class DatapackFailureScreen

All Implemented Interfaces:
Drawable, Element, ParentElement, TickableElement

@Environment(CLIENT)
public class DatapackFailureScreen
extends Screen
  • Field Details

    • wrappedText

      private class_5489 wrappedText
    • field_25452

      private final Runnable field_25452
  • Constructor Details

    • DatapackFailureScreen

      public DatapackFailureScreen​(Runnable runnable)
  • Method Details

    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      Overrides:
      init in class Screen
    • render

      public void render​(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Checks whether this screen should be closed when the escape key is pressed.
      Overrides:
      shouldCloseOnEsc in class Screen