Class EditGameRulesScreen.NamedRuleWidget
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<EditGameRulesScreen.AbstractRuleWidget>
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,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$NamedRuleWidgetintermediary net/minecraft/class_5235$class_5400official fyy$d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<ClickableWidget> private final List<OrderedText> Fields inherited from class net.minecraft.client.gui.screen.world.EditGameRulesScreen.AbstractRuleWidget
descriptionFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()Gets a list of all child GUI elements.protected voiddrawName(DrawContext context, int x, int y) List<? extends Selectable> Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget.Entry
getFocused, getNavigationPath, getNavigationPath, isDragging, mouseClicked, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, render, setFocusedMethods 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
getNavigationFocus, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;name:Ljava/util/List;intermediary field_25629Lnet/minecraft/class_5235$class_5400;field_25629:Ljava/util/List;official cLfyy$d;c:Ljava/util/List;
-
children
- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;children:Ljava/util/List;intermediary field_25630Lnet/minecraft/class_5235$class_5400;field_25630:Ljava/util/List;official aLfyy$d;a:Ljava/util/List;
-
-
Constructor Details
-
NamedRuleWidget
- 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;)Vintermediary <init>Lnet/minecraft/class_5235$class_5400;<init>(Lnet/minecraft/class_5235;Ljava/util/List;Lnet/minecraft/class_2561;)Vofficial <init>Lfyy$d;<init>(Lfyy;Ljava/util/List;Lxv;)V
-
-
Method Details
-
children
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;official aI_Lfqb;aI_()Ljava/util/List;
-
selectableChildren
- Specified by:
selectableChildrenin classElementListWidget.Entry<EditGameRulesScreen.AbstractRuleWidget>- Mappings:
Namespace Name Mixin selector named selectableChildrenLnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;intermediary method_37025Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;official bLfok$a;b()Ljava/util/List;
-
drawName
- Mappings:
Namespace Name Mixin selector named drawNameLnet/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget;drawName(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_29989Lnet/minecraft/class_5235$class_5400;method_29989(Lnet/minecraft/class_332;II)Vofficial aLfyy$d;a(Lfnr;II)V
-