Class LayoutWidgets

java.lang.Object
net.minecraft.client.gui.widget.LayoutWidgets

@Environment(CLIENT) public class LayoutWidgets extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/LayoutWidgets
intermediary net/minecraft/class_8767
official fld
  • Field Details

    • SPACING

      private static final int SPACING
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SPACING Lnet/minecraft/client/gui/widget/LayoutWidgets;SPACING:I
      intermediary field_46007 Lnet/minecraft/class_8767;field_46007:I
      official a Lfld;a:I
  • Constructor Details

    • LayoutWidgets

      private LayoutWidgets()
  • Method Details

    • createLabeledWidget

      public static LayoutWidget createLabeledWidget(TextRenderer textRenderer, Widget widget, Text label)
      Mappings:
      Namespace Name Mixin selector
      named createLabeledWidget Lnet/minecraft/client/gui/widget/LayoutWidgets;createLabeledWidget(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/gui/widget/Widget;Lnet/minecraft/text/Text;)Lnet/minecraft/client/gui/widget/LayoutWidget;
      intermediary method_53549 Lnet/minecraft/class_8767;method_53549(Lnet/minecraft/class_327;Lnet/minecraft/class_8021;Lnet/minecraft/class_2561;)Lnet/minecraft/class_8133;
      official a Lfld;a(Lfhf;Lflj;Lwu;)Lfli;
    • createLabeledWidget

      public static LayoutWidget createLabeledWidget(TextRenderer textRenderer, Widget widget, Text label, Consumer<Positioner> callback)
      Mappings:
      Namespace Name Mixin selector
      named createLabeledWidget Lnet/minecraft/client/gui/widget/LayoutWidgets;createLabeledWidget(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/gui/widget/Widget;Lnet/minecraft/text/Text;Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/widget/LayoutWidget;
      intermediary method_53550 Lnet/minecraft/class_8767;method_53550(Lnet/minecraft/class_327;Lnet/minecraft/class_8021;Lnet/minecraft/class_2561;Ljava/util/function/Consumer;)Lnet/minecraft/class_8133;
      official a Lfld;a(Lfhf;Lflj;Lwu;Ljava/util/function/Consumer;)Lfli;