Package net.minecraft
Class class_7543.class_7544.class_7548
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<class_7543.class_7544.class_7546>
net.minecraft.class_7543.class_7544.class_7546
net.minecraft.class_7543.class_7544.class_7548
- All Implemented Interfaces:
Element,Narratable
- Enclosing class:
class_7543.class_7544
@Environment(CLIENT)
public class class_7543.class_7544.class_7548
extends class_7543.class_7544.class_7546
- Mappings:
Namespace Name official eoh$a$dintermediary net/minecraft/class_7543$class_7544$class_7548named net/minecraft/class_7543$class_7544$class_7548
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final intprivate final StringVisitableprivate final Textprivate final @Nullable List<OrderedText>private final booleanprivate final booleanFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.booleanbooleanprivate booleanbooleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.voidrender(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations, changeFocusMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOverMethods 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
charTyped, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
field_39599
private static final int field_39599- See Also:
- Mappings:
Namespace Name Mixin selector official cLeoh$a$d;c:Iintermediary field_39599Lnet/minecraft/class_7543$class_7544$class_7548;field_39599:Inamed field_39599Lnet/minecraft/class_7543$class_7544$class_7548;field_39599:I
-
field_39600
private final int field_39600- Mappings:
Namespace Name Mixin selector official dLeoh$a$d;d:Iintermediary field_39600Lnet/minecraft/class_7543$class_7544$class_7548;field_39600:Inamed field_39600Lnet/minecraft/class_7543$class_7544$class_7548;field_39600:I
-
field_39601
- Mappings:
Namespace Name Mixin selector official eLeoh$a$d;e:Lrp;intermediary field_39601Lnet/minecraft/class_7543$class_7544$class_7548;field_39601:Lnet/minecraft/class_5348;named field_39601Lnet/minecraft/class_7543$class_7544$class_7548;field_39601:Lnet/minecraft/text/StringVisitable;
-
field_39602
- Mappings:
Namespace Name Mixin selector official fLeoh$a$d;f:Lrm;intermediary field_39602Lnet/minecraft/class_7543$class_7544$class_7548;field_39602:Lnet/minecraft/class_2561;named field_39602Lnet/minecraft/class_7543$class_7544$class_7548;field_39602:Lnet/minecraft/text/Text;
-
field_39603
- Mappings:
Namespace Name Mixin selector official hLeoh$a$d;h:Ljava/util/List;intermediary field_39603Lnet/minecraft/class_7543$class_7544$class_7548;field_39603:Ljava/util/List;named field_39603Lnet/minecraft/class_7543$class_7544$class_7548;field_39603:Ljava/util/List;
-
field_39604
private final boolean field_39604- Mappings:
Namespace Name Mixin selector official iLeoh$a$d;i:Zintermediary field_39604Lnet/minecraft/class_7543$class_7544$class_7548;field_39604:Znamed field_39604Lnet/minecraft/class_7543$class_7544$class_7548;field_39604:Z
-
field_39605
private final boolean field_39605- Mappings:
Namespace Name Mixin selector official jLeoh$a$d;j:Zintermediary field_39605Lnet/minecraft/class_7543$class_7544$class_7548;field_39605:Znamed field_39605Lnet/minecraft/class_7543$class_7544$class_7548;field_39605:Z
-
-
Constructor Details
-
class_7548
-
-
Method Details
-
render
public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.- Specified by:
renderin classEntryListWidget.Entry<class_7543.class_7544.class_7546>- Parameters:
matrices- the matrix stack used for renderingindex- the index of the entryy- the Y coordinate of the entryx- the X coordinate of the entryentryWidth- the width of the entryentryHeight- the height of the entrymouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehovered- whether the mouse is hovering over the entry- Mappings:
Namespace Name Mixin selector official aLegq$a;a(Ldzt;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
-
getNarration
- Overrides:
getNarrationin classclass_7543.class_7544.class_7546- Mappings:
Namespace Name Mixin selector official bLehj$a;b()Lrm;intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLehw;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLehw;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
method_44514
public boolean method_44514()- Overrides:
method_44514in classclass_7543.class_7544.class_7546- Mappings:
Namespace Name Mixin selector official aLeoh$a$b;a()Zintermediary method_44514Lnet/minecraft/class_7543$class_7544$class_7546;method_44514()Znamed method_44514Lnet/minecraft/class_7543$class_7544$class_7546;method_44514()Z
-
method_44515
public boolean method_44515()- Overrides:
method_44515in classclass_7543.class_7544.class_7546- Mappings:
Namespace Name Mixin selector official cLeoh$a$b;c()Zintermediary method_44515Lnet/minecraft/class_7543$class_7544$class_7546;method_44515()Znamed method_44515Lnet/minecraft/class_7543$class_7544$class_7546;method_44515()Z
-
method_44517
private boolean method_44517()- Mappings:
Namespace Name Mixin selector official dLeoh$a$d;d()Zintermediary method_44517Lnet/minecraft/class_7543$class_7544$class_7548;method_44517()Znamed method_44517Lnet/minecraft/class_7543$class_7544$class_7548;method_44517()Z
-