java.lang.Object
meteordevelopment.meteorclient.utils.render.prompts.Prompt<T>
Direct Known Subclasses:
OkPrompt, YesNoPrompt

public abstract class Prompt<T> extends Object
  • Field Details

    • theme

      protected final GuiTheme theme
    • parent

      protected final net.minecraft.client.gui.screen.Screen parent
    • title

      protected String title
    • messages

      protected final List<String> messages
    • dontShowAgainCheckboxVisible

      protected boolean dontShowAgainCheckboxVisible
    • id

      protected String id
  • Constructor Details

    • Prompt

      protected Prompt(GuiTheme theme, net.minecraft.client.gui.screen.Screen parent)
  • Method Details

    • title

      public T title(String title)
    • message

      public T message(String message)
    • message

      public T message(String message, Object... args)
    • dontShowAgainCheckboxVisible

      public T dontShowAgainCheckboxVisible(boolean visible)
    • id

      public T id(String from)
    • show

      public boolean show()
    • dontShowAgain

      protected void dontShowAgain(Prompt<T>.PromptScreen screen)
    • initialiseWidgets

      protected abstract void initialiseWidgets(Prompt<T>.PromptScreen screen)