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 eor$aintermediary net/minecraft/class_4406$class_4408named 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 static final ButtonTexturesprivate final TexturedButtonWidgetprivate final PlayerInfoprivate static final ButtonTexturesprivate static final ButtonTexturesprivate 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 official bLeor$a;b:Iintermediary field_44531Lnet/minecraft/class_4406$class_4408;field_44531: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 official cLeor$a;c:Iintermediary field_44532Lnet/minecraft/class_4406$class_4408;field_44532: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 official dLeor$a;d:Iintermediary field_44533Lnet/minecraft/class_4406$class_4408;field_44533: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 official eLeor$a;e:Iintermediary field_44534Lnet/minecraft/class_4406$class_4408;field_44534:Inamed field_44534Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;field_44534:I
-
REMOVE_PLAYER_TEXTURES
- Mappings:
Namespace Name Mixin selector official fLeor$a;f:Leuc;intermediary field_45252Lnet/minecraft/class_4406$class_4408;field_45252:Lnet/minecraft/class_8666;named REMOVE_PLAYER_TEXTURESLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;REMOVE_PLAYER_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
-
MAKE_OPERATOR_TEXTURES
- Mappings:
Namespace Name Mixin selector official gLeor$a;g:Leuc;intermediary field_45253Lnet/minecraft/class_4406$class_4408;field_45253:Lnet/minecraft/class_8666;named MAKE_OPERATOR_TEXTURESLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;MAKE_OPERATOR_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
-
REMOVE_OPERATOR_TEXTURES
- Mappings:
Namespace Name Mixin selector official hLeor$a;h:Leuc;intermediary field_45254Lnet/minecraft/class_4406$class_4408;field_45254:Lnet/minecraft/class_8666;named REMOVE_OPERATOR_TEXTURESLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;REMOVE_OPERATOR_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
-
playerInfo
- Mappings:
Namespace Name Mixin selector official iLeor$a;i:Lems;intermediary field_19979Lnet/minecraft/class_4406$class_4408;field_19979:Lnet/minecraft/class_4874;named playerInfoLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;playerInfo:Lnet/minecraft/client/realms/dto/PlayerInfo;
-
buttons
- Mappings:
Namespace Name Mixin selector official jLeor$a;j:Ljava/util/List;intermediary field_44535Lnet/minecraft/class_4406$class_4408;field_44535:Ljava/util/List;named buttonsLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;buttons:Ljava/util/List;
-
uninviteButton
- Mappings:
Namespace Name Mixin selector official kLeor$a;k:Letc;intermediary field_44536Lnet/minecraft/class_4406$class_4408;field_44536:Lnet/minecraft/class_344;named uninviteButtonLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;uninviteButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
opButton
- Mappings:
Namespace Name Mixin selector official lLeor$a;l:Letc;intermediary field_44537Lnet/minecraft/class_4406$class_4408;field_44537:Lnet/minecraft/class_344;named opButtonLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;opButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
deopButton
- Mappings:
Namespace Name Mixin selector official mLeor$a;m:Letc;intermediary field_44538Lnet/minecraft/class_4406$class_4408;field_44538:Lnet/minecraft/class_344;named deopButtonLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionListEntry;deopButton:Lnet/minecraft/client/gui/widget/TexturedButtonWidget;
-
-
Constructor Details
-
InvitedObjectSelectionListEntry
- Mappings:
Namespace Name Mixin selector official <init>Leor$a;<init>(Leor;Lems;)Vintermediary <init>Lnet/minecraft/class_4406$class_4408;<init>(Lnet/minecraft/class_4406;Lnet/minecraft/class_4874;)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 official bLeor$a;b()Vintermediary method_51247Lnet/minecraft/class_4406$class_4408;method_51247()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 official aLeuk;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(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 official aLesl$a;a(Lesf;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;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 official aLetm$a;a()Ltm;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;
-