Class PlainTextButton

All Implemented Interfaces:
GuiEventListener, Widget, NarratableEntry, NarrationSupplier

public class PlainTextButton extends Button
  • Field Details

    • font

      private final Font font
    • message

      private final Component message
    • underlinedMessage

      private final Component underlinedMessage
  • Constructor Details

    • PlainTextButton

      public PlainTextButton(int p_211755_, int p_211756_, int p_211757_, int p_211758_, Component p_211759_, Button.OnPress p_211760_, Font p_211761_)
  • Method Details

    • renderButton

      public void renderButton(PoseStack p_211763_, int p_211764_, int p_211765_, float p_211766_)
      Overrides:
      renderButton in class Button