Package net.minecraft.client.gui.social
Class FilterListEntry
- java.lang.Object
-
- net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry<E>
-
- net.minecraft.client.gui.widget.list.AbstractOptionList.Entry<FilterListEntry>
-
- net.minecraft.client.gui.social.FilterListEntry
-
- All Implemented Interfaces:
IGuiEventListener
,INestedGuiEventHandler
public class FilterListEntry extends AbstractOptionList.Entry<FilterListEntry>
-
-
Field Summary
Fields Modifier and Type Field Description static int
BG_FILL
static int
BG_FILL_REMOVED
private static ITextComponent
BLOCKED
private static ITextComponent
BLOCKED_OFFLINE
private java.util.List<IGuiEventListener>
children
private static ITextComponent
HIDDEN
private static ITextComponent
HIDDEN_OFFLINE
private Button
hideButton
private java.util.List<IReorderingProcessor>
hideTooltip
private java.util.UUID
id
private boolean
isRemoved
private Minecraft
minecraft
private static ITextComponent
OFFLINE
static int
PLAYER_STATUS_COLOR
private java.lang.String
playerName
static int
PLAYERNAME_COLOR
private Button
showButton
private java.util.List<IReorderingProcessor>
showTooltip
static int
SKIN_SHADE
private java.util.function.Supplier<ResourceLocation>
skinGetter
private float
tooltipHoverTime
-
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list
-
-
Constructor Summary
Constructors Constructor Description FilterListEntry(Minecraft p_i244722_1_, SocialInteractionsScreen p_i244722_2_, java.util.UUID p_i244722_3_, java.lang.String p_i244722_4_, java.util.function.Supplier<ResourceLocation> p_i244722_5_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<? extends IGuiEventListener>
children()
private IFormattableTextComponent
getEntryNarationMessage(IFormattableTextComponent p_244750_1_)
java.util.UUID
getPlayerId()
java.lang.String
getPlayerName()
private ITextComponent
getStatusComponent()
private void
onHiddenOrShown(boolean p_244635_1_, ITextComponent p_244635_2_)
private static void
postRenderTooltip(SocialInteractionsScreen p_244634_0_, MatrixStack p_244634_1_, java.util.List<IReorderingProcessor> p_244634_2_, int p_244634_3_, int p_244634_4_)
void
render(MatrixStack p_230432_1_, int p_230432_2_, int p_230432_3_, int p_230432_4_, int p_230432_5_, int p_230432_6_, int p_230432_7_, int p_230432_8_, boolean p_230432_9_, float p_230432_10_)
void
setRemoved(boolean p_244641_1_)
-
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractOptionList.Entry
getFocused, isDragging, setDragging, setFocused
-
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
isMouseOver
-
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
isMouseOver, mouseMoved
-
Methods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
changeFocus, charTyped, getChildAt, keyPressed, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
Field Detail
-
minecraft
private final Minecraft minecraft
-
children
private final java.util.List<IGuiEventListener> children
-
id
private final java.util.UUID id
-
playerName
private final java.lang.String playerName
-
skinGetter
private final java.util.function.Supplier<ResourceLocation> skinGetter
-
isRemoved
private boolean isRemoved
-
hideButton
@Nullable private Button hideButton
-
showButton
@Nullable private Button showButton
-
hideTooltip
private final java.util.List<IReorderingProcessor> hideTooltip
-
showTooltip
private final java.util.List<IReorderingProcessor> showTooltip
-
tooltipHoverTime
private float tooltipHoverTime
-
HIDDEN
private static final ITextComponent HIDDEN
-
BLOCKED
private static final ITextComponent BLOCKED
-
OFFLINE
private static final ITextComponent OFFLINE
-
HIDDEN_OFFLINE
private static final ITextComponent HIDDEN_OFFLINE
-
BLOCKED_OFFLINE
private static final ITextComponent BLOCKED_OFFLINE
-
SKIN_SHADE
public static final int SKIN_SHADE
-
BG_FILL
public static final int BG_FILL
-
BG_FILL_REMOVED
public static final int BG_FILL_REMOVED
-
PLAYERNAME_COLOR
public static final int PLAYERNAME_COLOR
-
PLAYER_STATUS_COLOR
public static final int PLAYER_STATUS_COLOR
-
-
Constructor Detail
-
FilterListEntry
public FilterListEntry(Minecraft p_i244722_1_, SocialInteractionsScreen p_i244722_2_, java.util.UUID p_i244722_3_, java.lang.String p_i244722_4_, java.util.function.Supplier<ResourceLocation> p_i244722_5_)
-
-
Method Detail
-
render
public void render(MatrixStack p_230432_1_, int p_230432_2_, int p_230432_3_, int p_230432_4_, int p_230432_5_, int p_230432_6_, int p_230432_7_, int p_230432_8_, boolean p_230432_9_, float p_230432_10_)
- Specified by:
render
in classAbstractList.AbstractListEntry<FilterListEntry>
-
children
public java.util.List<? extends IGuiEventListener> children()
-
getPlayerName
public java.lang.String getPlayerName()
-
getPlayerId
public java.util.UUID getPlayerId()
-
setRemoved
public void setRemoved(boolean p_244641_1_)
-
onHiddenOrShown
private void onHiddenOrShown(boolean p_244635_1_, ITextComponent p_244635_2_)
-
getEntryNarationMessage
private IFormattableTextComponent getEntryNarationMessage(IFormattableTextComponent p_244750_1_)
-
getStatusComponent
private ITextComponent getStatusComponent()
-
postRenderTooltip
private static void postRenderTooltip(SocialInteractionsScreen p_244634_0_, MatrixStack p_244634_1_, java.util.List<IReorderingProcessor> p_244634_2_, int p_244634_3_, int p_244634_4_)
-
-