@Environment(value=CLIENT) public class SocialInteractionsPlayerListWidget extends ElementListWidget<SocialInteractionsPlayerListEntry>
ElementListWidget.Entry<E extends ElementListWidget.Entry<E>>
EntryListWidget.MoveDirection
Modifier and Type | Field and Description |
---|---|
private String |
currentSearch |
private MinecraftClient |
minecraftClient |
private SocialInteractionsScreen |
parent |
private List<SocialInteractionsPlayerListEntry> |
players |
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, right, top, width
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
SocialInteractionsPlayerListWidget(SocialInteractionsScreen parent,
MinecraftClient client,
int width,
int height,
int top,
int bottom,
int itemHeight) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
void |
method_31345(PlayerListEntry playerListEntry,
SocialInteractionsScreen.Tab tab) |
void |
method_31347(UUID uUID) |
private void |
method_31349() |
void |
method_31393(Collection<UUID> collection,
double double2) |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
void |
setCurrentSearch(String currentSearch) |
changeFocus, isSelectedItem
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getEntry, getEntryAtPosition, getFocused, getItemCount, getMaxPosition, getMaxScroll, getRowLeft, getRowTop, getRowWidth, getScrollAmount, getScrollbarPositionX, getSelected, isFocused, isMouseOver, keyPressed, method_30015, method_31322, method_31323, method_31383, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelectionIf, remove, removeEntry, renderBackground, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderHeader, setRenderSelection, setScrollAmount, setSelected, updateScrollingState, updateSize
isDragging, setDragging, setFocused
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, focusOn, hoveredElement, keyReleased, setInitialFocus
mouseMoved
private final SocialInteractionsScreen parent
private final MinecraftClient minecraftClient
private final List<SocialInteractionsPlayerListEntry> players
public SocialInteractionsPlayerListWidget(SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int top, int bottom, int itemHeight)
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
render
in interface Drawable
render
in class EntryListWidget<SocialInteractionsPlayerListEntry>
public void method_31393(Collection<UUID> collection, double double2)
private void method_31349()
public void setCurrentSearch(String currentSearch)
public boolean isEmpty()
public void method_31345(PlayerListEntry playerListEntry, SocialInteractionsScreen.Tab tab)
public void method_31347(UUID uUID)