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 intermediary net/minecraft/class_4406$class_4408official eld$anamed net/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ClickableWidget>private final TexturedButtonWidgetprivate static final intprivate static final intprivate static final intprivate static final intprivate final TexturedButtonWidgetprivate final PlayerInfoprivate final TexturedButtonWidgetFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.voidrender(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.voidMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrationsMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, 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
charTyped, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods 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 intermediary field_44531Lnet/minecraft/class_4406$class_4408;field_44531:Iofficial bLeld$a;b:Inamed field_44531Lnet/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 intermediary field_44532Lnet/minecraft/class_4406$class_4408;field_44532:Iofficial cLeld$a;c:Inamed field_44532Lnet/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 intermediary field_44533Lnet/minecraft/class_4406$class_4408;field_44533:Iofficial dLeld$a;d:Inamed field_44533Lnet/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 intermediary field_44534Lnet/minecraft/class_4406$class_4408;field_44534:Iofficial eLeld$a;e:Inamed field_44534Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;field_44534:I
-
playerInfo
- Mappings:
Namespace Name Mixin selector intermediary field_19979Lnet/minecraft/class_4406$class_4408;field_19979:Lnet/minecraft/class_4874;official fLeld$a;f:Leje;named playerInfoLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;playerInfo:Lnet/minecraft/client/realms/dto/PlayerInfo;
-
buttons
- Mappings:
Namespace Name Mixin selector intermediary field_44535Lnet/minecraft/class_4406$class_4408;field_44535:Ljava/util/List;official gLeld$a;g:Ljava/util/List;named buttonsLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;buttons:Ljava/util/List;
-
uninviteButton
- Mappings:
Namespace Name Mixin selector intermediary field_44536Lnet/minecraft/class_4406$class_4408;field_44536:Lnet/minecraft/class_344;official hLeld$a;h:Lepk;named uninviteButtonLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;uninviteButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
opButton
- Mappings:
Namespace Name Mixin selector intermediary field_44537Lnet/minecraft/class_4406$class_4408;field_44537:Lnet/minecraft/class_344;official iLeld$a;i:Lepk;named opButtonLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;opButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
deopButton
- Mappings:
Namespace Name Mixin selector intermediary field_44538Lnet/minecraft/class_4406$class_4408;field_44538:Lnet/minecraft/class_344;official jLeld$a;j:Lepk;named deopButtonLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;deopButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
-
Constructor Details
-
InvitedObjectSelectionListEntry
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_4406$class_4408;<init>(Lnet/minecraft/class_4406;Lnet/minecraft/class_4874;)Vofficial <init>Leld$a;<init>(Leld;Leje;)Vnamed <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 intermediary method_51247Lnet/minecraft/class_4406$class_4408;method_51247()Vofficial bLeld$a;b()Vnamed updateButtonStatesLnet/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 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 intermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLeqk;a(DDI)Znamed mouseClickedLnet/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:
renderin 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 intermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)Vofficial aLeou$a;a(Leop;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<RealmsPlayerScreen.InvitedObjectSelectionListEntry>- Mappings:
Namespace Name Mixin selector intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;official aLept$a;a()Lsw;named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-