Class SocialInteractionsPlayerListEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.ElementListWidget.Entry<SocialInteractionsPlayerListEntry>
net.minecraft.client.gui.screen.multiplayer.SocialInteractionsPlayerListEntry
- All Implemented Interfaces:
Element,ParentElement
@Environment(CLIENT)
public class SocialInteractionsPlayerListEntry
extends ElementListWidget.Entry<SocialInteractionsPlayerListEntry>
- Mappings:
Namespace Name official eslintermediary net/minecraft/class_5519named net/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate static final Textprivate static final Textprivate final List<ClickableWidget>private final booleanprivate final MinecraftClientstatic final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intstatic final intprivate final booleanprivate static final Textprivate static final Textprivate @Nullable ButtonWidgetprivate static final Textstatic final intprivate final Stringprivate static final Textprivate booleanprivate static final Textprivate static final Identifierprivate static final Textprivate final booleanprivate @Nullable ButtonWidgetprivate static final Textprivate booleanprivate @Nullable ButtonWidgetprivate static final Textprivate final Supplier<Identifier>private floatprivate final UUIDstatic final intFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionSocialInteractionsPlayerListEntry(MinecraftClient client, SocialInteractionsScreen socialInteractionsScreen, UUID uuid, String name, Supplier<Identifier> skinTexture, boolean reportable) -
Method Summary
Modifier and TypeMethodDescriptionchildren()Gets a list of all child GUI elements.getName()(package private) MutableTextprivate TextgetReportText(boolean narrated) private TextgetUuid()booleanbooleanprivate voidonButtonClick(boolean showButtonVisible, Text chatMessage) 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.List<? extends Selectable>voidsetOffline(boolean offline) voidsetSentMessage(boolean sentMessage) Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget.Entry
getFocused, isDragging, setDragging, setFocusedMethods 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
isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
REPORT_BUTTON_TEXTURE
- Mappings:
Namespace Name Mixin selector official fLesl;f:Lace;intermediary field_39737Lnet/minecraft/class_5519;field_39737:Lnet/minecraft/class_2960;named REPORT_BUTTON_TEXTURELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;REPORT_BUTTON_TEXTURE:Lnet/minecraft/util/Identifier;
-
field_32418
private static final int field_32418- See Also:
- Mappings:
Namespace Name Mixin selector official hLesl;h:Iintermediary field_32418Lnet/minecraft/class_5519;field_32418:Inamed field_32418Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;field_32418:I
-
HIDDEN_TEXT
- Mappings:
Namespace Name Mixin selector official wLesl;w:Lsq;intermediary field_26905Lnet/minecraft/class_5519;field_26905:Lnet/minecraft/class_2561;named HIDDEN_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;HIDDEN_TEXT:Lnet/minecraft/text/Text;
-
BLOCKED_TEXT
- Mappings:
Namespace Name Mixin selector official xLesl;x:Lsq;intermediary field_26906Lnet/minecraft/class_5519;field_26906:Lnet/minecraft/class_2561;named BLOCKED_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;BLOCKED_TEXT:Lnet/minecraft/text/Text;
-
OFFLINE_TEXT
- Mappings:
Namespace Name Mixin selector official yLesl;y:Lsq;intermediary field_26907Lnet/minecraft/class_5519;field_26907:Lnet/minecraft/class_2561;named OFFLINE_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;OFFLINE_TEXT:Lnet/minecraft/text/Text;
-
HIDDEN_OFFLINE_TEXT
- Mappings:
Namespace Name Mixin selector official zLesl;z:Lsq;intermediary field_26908Lnet/minecraft/class_5519;field_26908:Lnet/minecraft/class_2561;named HIDDEN_OFFLINE_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;HIDDEN_OFFLINE_TEXT:Lnet/minecraft/text/Text;
-
BLOCKED_OFFLINE_TEXT
- Mappings:
Namespace Name Mixin selector official ALesl;A:Lsq;intermediary field_26909Lnet/minecraft/class_5519;field_26909:Lnet/minecraft/class_2561;named BLOCKED_OFFLINE_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;BLOCKED_OFFLINE_TEXT:Lnet/minecraft/text/Text;
-
REPORT_DISABLED_TEXT
- Mappings:
Namespace Name Mixin selector official BLesl;B:Lsq;intermediary field_39736Lnet/minecraft/class_5519;field_39736:Lnet/minecraft/class_2561;named REPORT_DISABLED_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;REPORT_DISABLED_TEXT:Lnet/minecraft/text/Text;
-
NOT_REPORTABLE_TEXT
- Mappings:
Namespace Name Mixin selector official CLesl;C:Lsq;intermediary field_39936Lnet/minecraft/class_5519;field_39936:Lnet/minecraft/class_2561;named NOT_REPORTABLE_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;NOT_REPORTABLE_TEXT:Lnet/minecraft/text/Text;
-
hideText
- Mappings:
Namespace Name Mixin selector official DLesl;D:Lsq;intermediary field_33837Lnet/minecraft/class_5519;field_33837:Lnet/minecraft/class_2561;named hideTextLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;hideText:Lnet/minecraft/text/Text;
-
showText
- Mappings:
Namespace Name Mixin selector official ELesl;E:Lsq;intermediary field_33838Lnet/minecraft/class_5519;field_33838:Lnet/minecraft/class_2561;named showTextLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;showText:Lnet/minecraft/text/Text;
-
reportText
- Mappings:
Namespace Name Mixin selector official FLesl;F:Lsq;intermediary field_39623Lnet/minecraft/class_5519;field_39623:Lnet/minecraft/class_2561;named reportTextLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;reportText:Lnet/minecraft/text/Text;
-
field_32420
private static final int field_32420- See Also:
- Mappings:
Namespace Name Mixin selector official GLesl;G:Iintermediary field_32420Lnet/minecraft/class_5519;field_32420:Inamed field_32420Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;field_32420:I
-
field_32421
private static final int field_32421- See Also:
- Mappings:
Namespace Name Mixin selector official HLesl;H:Iintermediary field_32421Lnet/minecraft/class_5519;field_32421:Inamed field_32421Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;field_32421:I
-
field_32422
private static final int field_32422- See Also:
- Mappings:
Namespace Name Mixin selector official ILesl;I:Iintermediary field_32422Lnet/minecraft/class_5519;field_32422:Inamed field_32422Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;field_32422:I
-
field_32416
private static final int field_32416- See Also:
- Mappings:
Namespace Name Mixin selector official JLesl;J:Iintermediary field_32416Lnet/minecraft/class_5519;field_32416:Inamed field_32416Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;field_32416:I
-
field_32417
private static final int field_32417- See Also:
- Mappings:
Namespace Name Mixin selector official KLesl;K:Iintermediary field_32417Lnet/minecraft/class_5519;field_32417:Inamed field_32417Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;field_32417:I
-
BLACK_COLOR
public static final int BLACK_COLOR- Mappings:
Namespace Name Mixin selector official aLesl;a:Iintermediary field_26850Lnet/minecraft/class_5519;field_26850:Inamed BLACK_COLORLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;BLACK_COLOR:I
-
GRAY_COLOR
public static final int GRAY_COLOR- Mappings:
Namespace Name Mixin selector official bLesl;b:Iintermediary field_26851Lnet/minecraft/class_5519;field_26851:Inamed GRAY_COLORLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;GRAY_COLOR:I
-
DARK_GRAY_COLOR
public static final int DARK_GRAY_COLOR- Mappings:
Namespace Name Mixin selector official cLesl;c:Iintermediary field_26852Lnet/minecraft/class_5519;field_26852:Inamed DARK_GRAY_COLORLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;DARK_GRAY_COLOR:I
-
WHITE_COLOR
public static final int WHITE_COLOR- Mappings:
Namespace Name Mixin selector official dLesl;d:Iintermediary field_26853Lnet/minecraft/class_5519;field_26853:Inamed WHITE_COLORLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;WHITE_COLOR:I
-
LIGHT_GRAY_COLOR
public static final int LIGHT_GRAY_COLOR- Mappings:
Namespace Name Mixin selector official eLesl;e:Iintermediary field_26903Lnet/minecraft/class_5519;field_26903:Inamed LIGHT_GRAY_COLORLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;LIGHT_GRAY_COLOR:I
-
client
- Mappings:
Namespace Name Mixin selector official iLesl;i:Leiw;intermediary field_26854Lnet/minecraft/class_5519;field_26854:Lnet/minecraft/class_310;named clientLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;client:Lnet/minecraft/client/MinecraftClient;
-
buttons
- Mappings:
Namespace Name Mixin selector official jLesl;j:Ljava/util/List;intermediary field_26855Lnet/minecraft/class_5519;field_26855:Ljava/util/List;named buttonsLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;buttons:Ljava/util/List;
-
uuid
- Mappings:
Namespace Name Mixin selector official kLesl;k:Ljava/util/UUID;intermediary field_26856Lnet/minecraft/class_5519;field_26856:Ljava/util/UUID;named uuidLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;uuid:Ljava/util/UUID;
-
name
- Mappings:
Namespace Name Mixin selector official lLesl;l:Ljava/lang/String;intermediary field_26857Lnet/minecraft/class_5519;field_26857:Ljava/lang/String;named nameLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;name:Ljava/lang/String;
-
skinTexture
- Mappings:
Namespace Name Mixin selector official mLesl;m:Ljava/util/function/Supplier;intermediary field_26904Lnet/minecraft/class_5519;field_26904:Ljava/util/function/Supplier;named skinTextureLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;skinTexture:Ljava/util/function/Supplier;
-
offline
private boolean offline- Mappings:
Namespace Name Mixin selector official nLesl;n:Zintermediary field_26859Lnet/minecraft/class_5519;field_26859:Znamed offlineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;offline:Z
-
sentMessage
private boolean sentMessage- Mappings:
Namespace Name Mixin selector official oLesl;o:Zintermediary field_39790Lnet/minecraft/class_5519;field_39790:Znamed sentMessageLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;sentMessage:Z
-
canSendReports
private final boolean canSendReports- Mappings:
Namespace Name Mixin selector official pLesl;p:Zintermediary field_39791Lnet/minecraft/class_5519;field_39791:Znamed canSendReportsLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;canSendReports:Z
-
reportable
private final boolean reportable- Mappings:
Namespace Name Mixin selector official qLesl;q:Zintermediary field_39937Lnet/minecraft/class_5519;field_39937:Znamed reportableLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;reportable:Z
-
hasDraftReport
private final boolean hasDraftReport- Mappings:
Namespace Name Mixin selector official rLesl;r:Zintermediary field_40796Lnet/minecraft/class_5519;field_40796:Znamed hasDraftReportLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;hasDraftReport:Z
-
hideButton
- Mappings:
Namespace Name Mixin selector official sLesl;s:Lekp;intermediary field_26860Lnet/minecraft/class_5519;field_26860:Lnet/minecraft/class_4185;named hideButtonLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;hideButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
showButton
- Mappings:
Namespace Name Mixin selector official tLesl;t:Lekp;intermediary field_26861Lnet/minecraft/class_5519;field_26861:Lnet/minecraft/class_4185;named showButtonLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;showButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
reportButton
- Mappings:
Namespace Name Mixin selector official uLesl;u:Lekp;intermediary field_39622Lnet/minecraft/class_5519;field_39622:Lnet/minecraft/class_4185;named reportButtonLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;reportButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
timeCounter
private float timeCounter- Mappings:
Namespace Name Mixin selector official vLesl;v:Fintermediary field_26864Lnet/minecraft/class_5519;field_26864:Fnamed timeCounterLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;timeCounter:F
-
-
Constructor Details
-
SocialInteractionsPlayerListEntry
public SocialInteractionsPlayerListEntry(MinecraftClient client, SocialInteractionsScreen socialInteractionsScreen, UUID uuid, String name, Supplier<Identifier> skinTexture, boolean reportable) - Mappings:
Namespace Name Mixin selector official <init>Lesl;<init>(Leiw;Leso;Ljava/util/UUID;Ljava/lang/String;Ljava/util/function/Supplier;Z)Vintermediary <init>Lnet/minecraft/class_5519;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_5522;Ljava/util/UUID;Ljava/lang/String;Ljava/util/function/Supplier;Z)Vnamed <init>Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;Ljava/util/UUID;Ljava/lang/String;Ljava/util/function/Supplier;Z)V
-
-
Method Details
-
getReportText
- Mappings:
Namespace Name Mixin selector official eLesl;e(Z)Lsq;intermediary method_44755Lnet/minecraft/class_5519;method_44755(Z)Lnet/minecraft/class_2561;named getReportTextLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getReportText(Z)Lnet/minecraft/text/Text;
-
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<SocialInteractionsPlayerListEntry>- 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 aLekl$a;a(Leds;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
-
children
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector official ai_Lelv;ai_()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
-
selectableChildren
- Specified by:
selectableChildrenin classElementListWidget.Entry<SocialInteractionsPlayerListEntry>- Mappings:
Namespace Name Mixin selector official bLekv$a;b()Ljava/util/List;intermediary method_37025Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;named selectableChildrenLnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;
-
getName
- Mappings:
Namespace Name Mixin selector official dLesl;d()Ljava/lang/String;intermediary method_31330Lnet/minecraft/class_5519;method_31330()Ljava/lang/String;named getNameLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getName()Ljava/lang/String;
-
getUuid
- Mappings:
Namespace Name Mixin selector official fLesl;f()Ljava/util/UUID;intermediary method_31334Lnet/minecraft/class_5519;method_31334()Ljava/util/UUID;named getUuidLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getUuid()Ljava/util/UUID;
-
setOffline
public void setOffline(boolean offline) - Mappings:
Namespace Name Mixin selector official cLesl;c(Z)Vintermediary method_31335Lnet/minecraft/class_5519;method_31335(Z)Vnamed setOfflineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;setOffline(Z)V
-
isOffline
public boolean isOffline()- Mappings:
Namespace Name Mixin selector official gLesl;g()Zintermediary method_44754Lnet/minecraft/class_5519;method_44754()Znamed isOfflineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;isOffline()Z
-
setSentMessage
public void setSentMessage(boolean sentMessage) - Mappings:
Namespace Name Mixin selector official dLesl;d(Z)Vintermediary method_44753Lnet/minecraft/class_5519;method_44753(Z)Vnamed setSentMessageLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;setSentMessage(Z)V
-
hasSentMessage
public boolean hasSentMessage()- Mappings:
Namespace Name Mixin selector official hLesl;h()Zintermediary method_44756Lnet/minecraft/class_5519;method_44756()Znamed hasSentMessageLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;hasSentMessage()Z
-
onButtonClick
- Mappings:
Namespace Name Mixin selector official aLesl;a(ZLsq;)Vintermediary method_31329Lnet/minecraft/class_5519;method_31329(ZLnet/minecraft/class_2561;)Vnamed onButtonClickLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;onButtonClick(ZLnet/minecraft/text/Text;)V
-
getNarrationMessage
- Mappings:
Namespace Name Mixin selector official aLesl;a(Ltd;)Ltd;intermediary method_31389Lnet/minecraft/class_5519;method_31389(Lnet/minecraft/class_5250;)Lnet/minecraft/class_5250;named getNarrationMessageLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getNarrationMessage(Lnet/minecraft/text/MutableText;)Lnet/minecraft/text/MutableText;
-
getStatusText
- Mappings:
Namespace Name Mixin selector official iLesl;i()Lsq;intermediary method_31390Lnet/minecraft/class_5519;method_31390()Lnet/minecraft/class_2561;named getStatusTextLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getStatusText()Lnet/minecraft/text/Text;
-