Package net.minecraft.client.gui.social
Class FilterList
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.FocusableGui
net.minecraft.client.gui.widget.list.AbstractList<E>
net.minecraft.client.gui.widget.list.AbstractOptionList<FilterListEntry>
net.minecraft.client.gui.social.FilterList
- All Implemented Interfaces:
IGuiEventListener
,INestedGuiEventHandler
,IRenderable
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.AbstractOptionList
AbstractOptionList.Entry<E extends AbstractOptionList.Entry<E>>
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.AbstractList
AbstractList.AbstractListEntry<E extends AbstractList.AbstractListEntry<E>>, AbstractList.Ordering
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private final Minecraft
private final List<FilterListEntry>
private final SocialInteractionsScreen
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList
centerListVertically, headerHeight, height, itemHeight, width, x0, x1, y0, y1
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorsConstructorDescriptionFilterList
(SocialInteractionsScreen p_i244516_1_, Minecraft p_i244516_2_, int p_i244516_3_, int p_i244516_4_, int p_i244516_5_, int p_i244516_6_, int p_i244516_7_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayer
(NetworkPlayerInfo p_244657_1_, SocialInteractionsScreen.Mode p_244657_2_) boolean
isEmpty()
void
removePlayer
(UUID p_244659_1_) void
render
(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_) void
private void
void
updatePlayerList
(Collection<UUID> p_244759_1_, double p_244759_2_) Methods inherited from class net.minecraft.client.gui.widget.list.AbstractOptionList
changeFocus, isSelectedItem
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRight, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollAmount, getScrollbarPosition, getSelected, getTop, getWidth, isFocused, isMouseOver, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, refreshSelection, remove, removeEntry, renderBackground, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, setSelected, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.FocusableGui
isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.IGuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus
-
Field Details
-
minecraft
-
players
-
filter
-
Constructor Details
-
FilterList
public FilterList(SocialInteractionsScreen p_i244516_1_, Minecraft p_i244516_2_, int p_i244516_3_, int p_i244516_4_, int p_i244516_5_, int p_i244516_6_, int p_i244516_7_)
-
-
Method Details
-
render
- Specified by:
render
in interfaceIRenderable
- Overrides:
render
in classAbstractList<FilterListEntry>
-
updatePlayerList
-
updateFilteredPlayers
private void updateFilteredPlayers() -
setFilter
-
isEmpty
public boolean isEmpty() -
addPlayer
-
removePlayer
-
socialInteractionsScreen