Class RealmsPlayerScreen.InvitedObjectSelectionListEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<RealmsPlayerScreen.InvitedObjectSelectionListEntry>
net.minecraft.client.realms.gui.screen.RealmsPlayerScreen.InvitedObjectSelectionListEntry
- All Implemented Interfaces:
Element
,Narratable
,Navigable
- Enclosing class:
RealmsPlayerScreen
@Environment(CLIENT)
private class RealmsPlayerScreen.InvitedObjectSelectionListEntry
extends AlwaysSelectedEntryListWidget.Entry<RealmsPlayerScreen.InvitedObjectSelectionListEntry>
- Mappings:
Namespace Name official ell$a
intermediary net/minecraft/class_4406$class_4408
named net/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ClickableWidget>
private final TexturedButtonWidget
private static final int
private static final int
private static final int
private static final int
private final TexturedButtonWidget
private final PlayerInfo
private final TexturedButtonWidget
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
mouseClicked
(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.void
render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
Field Details
-
field_44531
private static final int field_44531- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lell$a;b:I
intermediary field_44531
Lnet/minecraft/class_4406$class_4408;field_44531:I
named field_44531
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;field_44531:I
-
field_44532
private static final int field_44532- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lell$a;c:I
intermediary field_44532
Lnet/minecraft/class_4406$class_4408;field_44532:I
named field_44532
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;field_44532:I
-
field_44533
private static final int field_44533- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lell$a;d:I
intermediary field_44533
Lnet/minecraft/class_4406$class_4408;field_44533:I
named field_44533
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;field_44533:I
-
field_44534
private static final int field_44534- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lell$a;e:I
intermediary field_44534
Lnet/minecraft/class_4406$class_4408;field_44534:I
named field_44534
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;field_44534:I
-
playerInfo
- Mappings:
Namespace Name Mixin selector official f
Lell$a;f:Lejm;
intermediary field_19979
Lnet/minecraft/class_4406$class_4408;field_19979:Lnet/minecraft/class_4874;
named playerInfo
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;playerInfo:Lnet/minecraft/client/realms/dto/PlayerInfo;
-
buttons
- Mappings:
Namespace Name Mixin selector official g
Lell$a;g:Ljava/util/List;
intermediary field_44535
Lnet/minecraft/class_4406$class_4408;field_44535:Ljava/util/List;
named buttons
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;buttons:Ljava/util/List;
-
uninviteButton
- Mappings:
Namespace Name Mixin selector official h
Lell$a;h:Lept;
intermediary field_44536
Lnet/minecraft/class_4406$class_4408;field_44536:Lnet/minecraft/class_344;
named uninviteButton
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;uninviteButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
opButton
- Mappings:
Namespace Name Mixin selector official i
Lell$a;i:Lept;
intermediary field_44537
Lnet/minecraft/class_4406$class_4408;field_44537:Lnet/minecraft/class_344;
named opButton
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;opButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
deopButton
- Mappings:
Namespace Name Mixin selector official j
Lell$a;j:Lept;
intermediary field_44538
Lnet/minecraft/class_4406$class_4408;field_44538:Lnet/minecraft/class_344;
named deopButton
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;deopButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
-
Constructor Details
-
InvitedObjectSelectionListEntry
- Mappings:
Namespace Name Mixin selector official <init>
Lell$a;<init>(Lell;Lejm;)V
intermediary <init>
Lnet/minecraft/class_4406$class_4408;<init>(Lnet/minecraft/class_4406;Lnet/minecraft/class_4874;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;Lnet/minecraft/client/realms/dto/PlayerInfo;)V
-
-
Method Details
-
updateButtonStates
public void updateButtonStates()- Mappings:
Namespace Name Mixin selector official b
Lell$a;b()V
intermediary method_51247
Lnet/minecraft/class_4406$class_4408;method_51247()V
named updateButtonStates
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;updateButtonStates()V
-
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 inGLFW
class.- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leqt;a(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
render
public void render(DrawContext context, 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:
render
in classEntryListWidget.Entry<RealmsPlayerScreen.InvitedObjectSelectionListEntry>
- Parameters:
index
- 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 a
Lepc$a;a(Leox;IIIIIIIZF)V
intermediary method_25343
Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V
named render
Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
-
getNarration
- Specified by:
getNarration
in classAlwaysSelectedEntryListWidget.Entry<RealmsPlayerScreen.InvitedObjectSelectionListEntry>
- Mappings:
Namespace Name Mixin selector official a
Leqc$a;a()Lsw;
intermediary method_37006
Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;
named getNarration
Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-