Class PopupScreen.Builder

java.lang.Object
net.minecraft.client.gui.screen.PopupScreen.Builder
Enclosing class:
PopupScreen

@Environment(CLIENT) public static class PopupScreen.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/PopupScreen$Builder
intermediary net/minecraft/class_8816$class_8817
official fih$a
  • Field Details

    • backgroundScreen

      private final Screen backgroundScreen
      Mappings:
      Namespace Name Mixin selector
      named backgroundScreen Lnet/minecraft/client/gui/screen/PopupScreen$Builder;backgroundScreen:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_46568 Lnet/minecraft/class_8816$class_8817;field_46568:Lnet/minecraft/class_437;
      official a Lfih$a;a:Lfne;
    • title

      private final Text title
      Mappings:
      Namespace Name Mixin selector
      named title Lnet/minecraft/client/gui/screen/PopupScreen$Builder;title:Lnet/minecraft/text/Text;
      intermediary field_46569 Lnet/minecraft/class_8816$class_8817;field_46569:Lnet/minecraft/class_2561;
      official b Lfih$a;b:Lxp;
    • message

      private Text message
      Mappings:
      Namespace Name Mixin selector
      named message Lnet/minecraft/client/gui/screen/PopupScreen$Builder;message:Lnet/minecraft/text/Text;
      intermediary field_46570 Lnet/minecraft/class_8816$class_8817;field_46570:Lnet/minecraft/class_2561;
      official c Lfih$a;c:Lxp;
    • width

      private int width
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/client/gui/screen/PopupScreen$Builder;width:I
      intermediary field_46571 Lnet/minecraft/class_8816$class_8817;field_46571:I
      official d Lfih$a;d:I
    • image

      Mappings:
      Namespace Name Mixin selector
      named image Lnet/minecraft/client/gui/screen/PopupScreen$Builder;image:Lnet/minecraft/util/Identifier;
      intermediary field_46572 Lnet/minecraft/class_8816$class_8817;field_46572:Lnet/minecraft/class_2960;
      official e Lfih$a;e:Lalf;
    • buttons

      private final List<PopupScreen.Button> buttons
      Mappings:
      Namespace Name Mixin selector
      named buttons Lnet/minecraft/client/gui/screen/PopupScreen$Builder;buttons:Ljava/util/List;
      intermediary field_46573 Lnet/minecraft/class_8816$class_8817;field_46573:Ljava/util/List;
      official f Lfih$a;f:Ljava/util/List;
    • onClosed

      @Nullable private @Nullable Runnable onClosed
      Mappings:
      Namespace Name Mixin selector
      named onClosed Lnet/minecraft/client/gui/screen/PopupScreen$Builder;onClosed:Ljava/lang/Runnable;
      intermediary field_46574 Lnet/minecraft/class_8816$class_8817;field_46574:Ljava/lang/Runnable;
      official g Lfih$a;g:Ljava/lang/Runnable;
  • Constructor Details

    • Builder

      public Builder(Screen backgroundScreen, Text title)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/PopupScreen$Builder;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_8816$class_8817;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;)V
      official <init> Lfih$a;<init>(Lfne;Lxp;)V
  • Method Details

    • width

      public PopupScreen.Builder width(int width)
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/client/gui/screen/PopupScreen$Builder;width(I)Lnet/minecraft/client/gui/screen/PopupScreen$Builder;
      intermediary method_54126 Lnet/minecraft/class_8816$class_8817;method_54126(I)Lnet/minecraft/class_8816$class_8817;
      official a Lfih$a;a(I)Lfih$a;
    • image

      public PopupScreen.Builder image(Identifier image)
      Mappings:
      Namespace Name Mixin selector
      named image Lnet/minecraft/client/gui/screen/PopupScreen$Builder;image(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/gui/screen/PopupScreen$Builder;
      intermediary method_54127 Lnet/minecraft/class_8816$class_8817;method_54127(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8816$class_8817;
      official a Lfih$a;a(Lalf;)Lfih$a;
    • message

      public PopupScreen.Builder message(Text message)
      Mappings:
      Namespace Name Mixin selector
      named message Lnet/minecraft/client/gui/screen/PopupScreen$Builder;message(Lnet/minecraft/text/Text;)Lnet/minecraft/client/gui/screen/PopupScreen$Builder;
      intermediary method_54129 Lnet/minecraft/class_8816$class_8817;method_54129(Lnet/minecraft/class_2561;)Lnet/minecraft/class_8816$class_8817;
      official a Lfih$a;a(Lxp;)Lfih$a;
    • button

      public PopupScreen.Builder button(Text message, Consumer<PopupScreen> action)
      Mappings:
      Namespace Name Mixin selector
      named button Lnet/minecraft/client/gui/screen/PopupScreen$Builder;button(Lnet/minecraft/text/Text;Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/screen/PopupScreen$Builder;
      intermediary method_54130 Lnet/minecraft/class_8816$class_8817;method_54130(Lnet/minecraft/class_2561;Ljava/util/function/Consumer;)Lnet/minecraft/class_8816$class_8817;
      official a Lfih$a;a(Lxp;Ljava/util/function/Consumer;)Lfih$a;
    • onClosed

      public PopupScreen.Builder onClosed(Runnable onClosed)
      Mappings:
      Namespace Name Mixin selector
      named onClosed Lnet/minecraft/client/gui/screen/PopupScreen$Builder;onClosed(Ljava/lang/Runnable;)Lnet/minecraft/client/gui/screen/PopupScreen$Builder;
      intermediary method_54128 Lnet/minecraft/class_8816$class_8817;method_54128(Ljava/lang/Runnable;)Lnet/minecraft/class_8816$class_8817;
      official a Lfih$a;a(Ljava/lang/Runnable;)Lfih$a;
    • build

      public PopupScreen build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/client/gui/screen/PopupScreen$Builder;build()Lnet/minecraft/client/gui/screen/PopupScreen;
      intermediary method_54125 Lnet/minecraft/class_8816$class_8817;method_54125()Lnet/minecraft/class_8816;
      official a Lfih$a;a()Lfih;