Class EditGameRulesScreen.NamedRuleWidget
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.ElementListWidget.Entry<EditGameRulesScreen.AbstractRuleWidget>
net.minecraft.client.gui.screen.world.EditGameRulesScreen.AbstractRuleWidget
net.minecraft.client.gui.screen.world.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$dintermediary net/minecraft/class_5235$class_5400named net/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget
-
Field Summary
-
Constructor Summary
Constructors Constructor Description NamedRuleWidget(List<OrderedText> description, Text name) -
Method Summary
Modifier and Type Method Description List<? extends Element>children()Gets a list of all child GUI elements.protected voiddrawName(MatrixStack matrices, int x, int y)Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget.Entry
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOver, renderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official aLdyu$d;a:Ljava/util/List;intermediary field_25629Lnet/minecraft/class_5235$class_5400;field_25629:Ljava/util/List;named nameLnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;name:Ljava/util/List;
-
children
- Mappings:
Namespace Name Mixin selector official bLdyu$d;b:Ljava/util/List;intermediary field_25630Lnet/minecraft/class_5235$class_5400;field_25630:Ljava/util/List;named childrenLnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;children:Ljava/util/List;
-
-
Constructor Details
-
NamedRuleWidget
- Mappings:
Namespace Name Mixin selector official <init>Ldyu$d;<init>(Ldyu;Ljava/util/List;Loi;)Vintermediary <init>Lnet/minecraft/class_5235$class_5400;<init>(Lnet/minecraft/class_5235;Ljava/util/List;Lnet/minecraft/class_2561;)Vnamed <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
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector official aA_Ldss;aA_()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
-
drawName
- Mappings:
Namespace Name Mixin selector official aLdyu$d;a(Ldlr;II)Vintermediary method_29989Lnet/minecraft/class_5235$class_5400;method_29989(Lnet/minecraft/class_4587;II)Vnamed drawNameLnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;drawName(Lnet/minecraft/client/util/math/MatrixStack;II)V
-