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 fjo$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 Lfjo$a;a:Lfod;
    • 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 Lfjo$a;b:Lwz;
    • 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 Lfjo$a;c:Lwz;
    • 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 Lfjo$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 Lfjo$a;e:Lakr;
    • 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 Lfjo$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 Lfjo$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> Lfjo$a;<init>(Lfod;Lwz;)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 Lfjo$a;a(I)Lfjo$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 Lfjo$a;a(Lakr;)Lfjo$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 Lfjo$a;a(Lwz;)Lfjo$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 Lfjo$a;a(Lwz;Ljava/util/function/Consumer;)Lfjo$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 Lfjo$a;a(Ljava/lang/Runnable;)Lfjo$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 Lfjo$a;a()Lfjo;