Class EditGameRulesScreen.NamedRuleWidget

All Implemented Interfaces:
Element, ParentElement
Direct Known Subclasses:
EditGameRulesScreen.BooleanRuleWidget, EditGameRulesScreen.IntRuleWidget
Enclosing class:
EditGameRulesScreen

@Environment(CLIENT)
public abstract class EditGameRulesScreen.NamedRuleWidget
extends EditGameRulesScreen.AbstractRuleWidget
Mappings:
Namespace Name
official dyu$d
intermediary net/minecraft/class_5235$class_5400
named net/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget
  • Field Details

    • name

      private final List<OrderedText> name
      Mappings:
      Namespace Name Mixin selector
      official a Ldyu$d;a:Ljava/util/List;
      intermediary field_25629 Lnet/minecraft/class_5235$class_5400;field_25629:Ljava/util/List;
      named name Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;name:Ljava/util/List;
    • children

      protected final List<Element> children
      Mappings:
      Namespace Name Mixin selector
      official b Ldyu$d;b:Ljava/util/List;
      intermediary field_25630 Lnet/minecraft/class_5235$class_5400;field_25630:Ljava/util/List;
      named children Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;children:Ljava/util/List;
  • Constructor Details

    • NamedRuleWidget

      public NamedRuleWidget​(List<OrderedText> description, @Nullable Text name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldyu$d;<init>(Ldyu;Ljava/util/List;Loi;)V
      intermediary <init> Lnet/minecraft/class_5235$class_5400;<init>(Lnet/minecraft/class_5235;Ljava/util/List;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;<init>(Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;Ljava/util/List;Lnet/minecraft/text/Text;)V
  • Method Details

    • children

      public List<? extends Element> children()
      Gets a list of all child GUI elements.
      Mappings:
      Namespace Name Mixin selector
      official aA_ Ldss;aA_()Ljava/util/List;
      intermediary method_25396 Lnet/minecraft/class_4069;method_25396()Ljava/util/List;
      named children Lnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
    • drawName

      protected void drawName​(MatrixStack matrices, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyu$d;a(Ldlr;II)V
      intermediary method_29989 Lnet/minecraft/class_5235$class_5400;method_29989(Lnet/minecraft/class_4587;II)V
      named drawName Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;drawName(Lnet/minecraft/client/util/math/MatrixStack;II)V