类 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
-
- 所有已实现的接口:
Element,ParentElement
- 封闭类:
- EditGameRulesScreen
@Environment(CLIENT) public abstract class EditGameRulesScreen.NamedRuleWidget extends EditGameRulesScreen.AbstractRuleWidget
- Mappings:
Namespace Name official ecu$dintermediary net/minecraft/class_5235$class_5400named net/minecraft/client/gui/screen/world/EditGameRulesScreen$NamedRuleWidget
-
-
构造器概要
构造器 构造器 说明 NamedRuleWidget(List<OrderedText> description, @Nullable Text name)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<? extends Element>children()Gets a list of all child GUI elements.protected voiddrawName(MatrixStack matrices, int x, int y)-
从类继承的方法 net.minecraft.client.gui.widget.ElementListWidget.Entry
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOver, render
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
isMouseOver, mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
name
private final List<OrderedText> name
- Mappings:
Namespace Name Mixin selector official aLecu$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
protected final List<Element> children
- Mappings:
Namespace Name Mixin selector official bLecu$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;
-
-
构造器详细资料
-
NamedRuleWidget
public NamedRuleWidget(List<OrderedText> description, @Nullable @Nullable Text name)
- Mappings:
Namespace Name Mixin selector official <init>Lecu$d;<init>(Lecu;Ljava/util/List;Lon;)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
-
-
方法详细资料
-
children
public List<? extends Element> children()
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector official aB_Ldwu;aB_()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
protected void drawName(MatrixStack matrices, int x, int y)
- Mappings:
Namespace Name Mixin selector official aLecu$d;a(Ldpi;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
-
-