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>
-
Field Summary
Fields Modifier and Type Field Description private List<Element>buttonsprivate MinecraftClientclientstatic intfield_26850static intfield_26851static intfield_26852static intfield_26853private booleanfield_26859private floatfield_26864static intfield_26903private Supplier<Identifier>field_26904private static Textfield_26905private static Textfield_26906private static Textfield_26907private static Textfield_26908private static Textfield_26909private ButtonWidgethideButtonprivate List<OrderedText>hideTooltipprivate Stringnameprivate ButtonWidgetshowButtonprivate List<OrderedText>showTooltipprivate UUIDuuid -
Constructor Summary
Constructors Constructor Description SocialInteractionsPlayerListEntry(MinecraftClient client, SocialInteractionsScreen parent, UUID uuid, String name, Supplier<Identifier> supplier) -
Method Summary
Modifier and Type Method Description List<? extends Element>children()Gets a list of all child GUI elements.StringgetName()UUIDgetUuid()private static voidmethod_31328(SocialInteractionsScreen socialInteractionsScreen, MatrixStack matrixStack, List<OrderedText> list, int int2, int int3)private voidmethod_31329(boolean bool, Text text)voidmethod_31335(boolean bool)private MutableTextmethod_31389(MutableText mutableText)private Textmethod_31390()voidrender(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)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
-
field_26905
-
field_26906
-
field_26907
-
field_26908
-
field_26909
-
field_26850
public static final int field_26850 -
field_26851
public static final int field_26851 -
field_26852
public static final int field_26852 -
field_26853
public static final int field_26853 -
field_26903
public static final int field_26903 -
client
-
buttons
-
uuid
-
name
-
field_26904
-
field_26859
private boolean field_26859 -
hideButton
-
showButton
-
hideTooltip
-
showTooltip
-
field_26864
private float field_26864
-
-
Constructor Details
-
SocialInteractionsPlayerListEntry
public SocialInteractionsPlayerListEntry(MinecraftClient client, SocialInteractionsScreen parent, UUID uuid, String name, Supplier<Identifier> supplier)
-
-
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)- Specified by:
renderin classEntryListWidget.Entry<SocialInteractionsPlayerListEntry>
-
children
Gets a list of all child GUI elements. -
getName
-
getUuid
-
method_31335
public void method_31335(boolean bool) -
method_31329
-
method_31389
-
method_31390
-
method_31328
private static void method_31328(SocialInteractionsScreen socialInteractionsScreen, MatrixStack matrixStack, List<OrderedText> list, int int2, int int3)
-