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 fiw$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 Lfiw$a;a:Lfnl;
    • 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 Lfiw$a;b:Lwu;
    • 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 Lfiw$a;c:Lwu;
    • 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 Lfiw$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 Lfiw$a;e:Lakk;
    • 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 Lfiw$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 Lfiw$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> Lfiw$a;<init>(Lfnl;Lwu;)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 Lfiw$a;a(I)Lfiw$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 Lfiw$a;a(Lakk;)Lfiw$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 Lfiw$a;a(Lwu;)Lfiw$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 Lfiw$a;a(Lwu;Ljava/util/function/Consumer;)Lfiw$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 Lfiw$a;a(Ljava/lang/Runnable;)Lfiw$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 Lfiw$a;a()Lfiw;