Class WorldScreenOptionGrid.Builder

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

@Environment(CLIENT) public static class WorldScreenOptionGrid.Builder extends Object
Mappings:
Namespace Name
official ewk$a
intermediary net/minecraft/class_8096$class_8097
named net/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder
  • Field Details

    • width

      final int width
      Mappings:
      Namespace Name Mixin selector
      official a Lewk$a;a:I
      intermediary field_42198 Lnet/minecraft/class_8096$class_8097;field_42198:I
      named width Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;width:I
    • options

      private final List<WorldScreenOptionGrid.OptionBuilder> options
      Mappings:
      Namespace Name Mixin selector
      official b Lewk$a;b:Ljava/util/List;
      intermediary field_42199 Lnet/minecraft/class_8096$class_8097;field_42199:Ljava/util/List;
      named options Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;options:Ljava/util/List;
    • marginLeft

      int marginLeft
      Mappings:
      Namespace Name Mixin selector
      official c Lewk$a;c:I
      intermediary field_42200 Lnet/minecraft/class_8096$class_8097;field_42200:I
      named marginLeft Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;marginLeft:I
    • field_42509

      int field_42509
      Mappings:
      Namespace Name Mixin selector
      official d Lewk$a;d:I
      intermediary field_42509 Lnet/minecraft/class_8096$class_8097;field_42509:I
      named field_42509 Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;field_42509:I
    • field_42510

      int field_42510
      Mappings:
      Namespace Name Mixin selector
      official e Lewk$a;e:I
      intermediary field_42510 Lnet/minecraft/class_8096$class_8097;field_42510:I
      named field_42510 Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;field_42510:I
    • field_42511

      Mappings:
      Namespace Name Mixin selector
      official f Lewk$a;f:Ljava/util/Optional;
      intermediary field_42511 Lnet/minecraft/class_8096$class_8097;field_42511:Ljava/util/Optional;
      named field_42511 Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;field_42511:Ljava/util/Optional;
  • Constructor Details

    • Builder

      public Builder(int width)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lewk$a;<init>(I)V
      intermediary <init> Lnet/minecraft/class_8096$class_8097;<init>(I)V
      named <init> Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;<init>(I)V
  • Method Details

    • method_49025

      void method_49025()
      Mappings:
      Namespace Name Mixin selector
      official a Lewk$a;a()V
      intermediary method_49025 Lnet/minecraft/class_8096$class_8097;method_49025()V
      named method_49025 Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;method_49025()V
    • add

      Mappings:
      Namespace Name Mixin selector
      official a Lewk$a;a(Ltd;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;)Lewk$d;
      intermediary method_48687 Lnet/minecraft/class_8096$class_8097;method_48687(Lnet/minecraft/class_2561;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;)Lnet/minecraft/class_8096$class_8099;
      named add Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;add(Lnet/minecraft/text/Text;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;
    • marginLeft

      public WorldScreenOptionGrid.Builder marginLeft(int marginLeft)
      Mappings:
      Namespace Name Mixin selector
      official a Lewk$a;a(I)Lewk$a;
      intermediary method_48685 Lnet/minecraft/class_8096$class_8097;method_48685(I)Lnet/minecraft/class_8096$class_8097;
      named marginLeft Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;marginLeft(I)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
    • method_49027

      public WorldScreenOptionGrid.Builder method_49027(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lewk$a;b(I)Lewk$a;
      intermediary method_49027 Lnet/minecraft/class_8096$class_8097;method_49027(I)Lnet/minecraft/class_8096$class_8097;
      named method_49027 Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;method_49027(I)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
    • build

      public WorldScreenOptionGrid build(Consumer<Widget> widgetConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lewk$a;a(Ljava/util/function/Consumer;)Lewk;
      intermediary method_48686 Lnet/minecraft/class_8096$class_8097;method_48686(Ljava/util/function/Consumer;)Lnet/minecraft/class_8096;
      named build Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;build(Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid;
    • method_49026

      public WorldScreenOptionGrid.Builder method_49026(int int2, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lewk$a;a(IZ)Lewk$a;
      intermediary method_49026 Lnet/minecraft/class_8096$class_8097;method_49026(IZ)Lnet/minecraft/class_8096$class_8097;
      named method_49026 Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;method_49026(IZ)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;