Class EditGameRulesScreen.NamedRuleWidget

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

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

    • name

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

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

    • NamedRuleWidget

      public NamedRuleWidget(@Nullable @Nullable List<OrderedText> description, Text name)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_5235$class_5400;<init>(Lnet/minecraft/class_5235;Ljava/util/List;Lnet/minecraft/class_2561;)V
      official <init> Lfyy$d;<init>(Lfyy;Ljava/util/List;Lxv;)V
  • Method Details

    • children

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

      public List<? extends Selectable> selectableChildren()
      Specified by:
      selectableChildren in class ElementListWidget.Entry<EditGameRulesScreen.AbstractRuleWidget>
      Mappings:
      Namespace Name Mixin selector
      named selectableChildren Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;
      intermediary method_37025 Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;
      official b Lfok$a;b()Ljava/util/List;
    • drawName

      protected void drawName(DrawContext context, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawName Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;drawName(Lnet/minecraft/client/gui/DrawContext;II)V
      intermediary method_29989 Lnet/minecraft/class_5235$class_5400;method_29989(Lnet/minecraft/class_332;II)V
      official a Lfyy$d;a(Lfnr;II)V