Class SocialInteractionsScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.social.SocialInteractionsScreen
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,Widget
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Buttonprivate static intprivate static intprivate static intprivate static Stringprivate Buttonprivate static Componentprivate Buttonprivate static intprivate static Componentprivate static Component(package private) static Componentprivate Buttonprivate static intprivate booleanprivate static intprivate Stringstatic intprivate static intprivate SocialInteractionsScreen.Pageprivate intprivate Runnableprivate static intprivate static Componentstatic int(package private) EditBoxprivate Componentprotected static ResourceLocation(package private) SocialInteractionsPlayerListprivate static Componentprivate static Componentprivate static Componentprivate static Componentprivate static Componentprivate static ComponentFields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, widthFields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intprivate voidcheckSearchStringUpdate(String p_100789_)protected voidinit()booleanbooleankeyPressed(int p_100757_, int p_100758_, int p_100759_)private intlistEnd()private intmarginX()booleanmouseClicked(double p_100753_, double p_100754_, int p_100755_)voidonAddPlayer(PlayerInfo p_100776_)voidonRemovePlayer(UUID p_100780_)voidremoved()voidvoidrenderBackground(PoseStack p_100761_)voidsetPostRenderRunnable(Runnable p_100778_)private voidshowPage(SocialInteractionsScreen.Page p_100772_)voidtick()private voidupdateServerLabel(Minecraft p_100768_)private intMethods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, removeWidget, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentToolTip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
SOCIAL_INTERACTIONS_LOCATION
-
TAB_ALL
-
TAB_HIDDEN
-
TAB_BLOCKED
-
TAB_ALL_SELECTED
-
TAB_HIDDEN_SELECTED
-
TAB_BLOCKED_SELECTED
-
SEARCH_HINT
-
EMPTY_SEARCH
-
EMPTY_HIDDEN
-
EMPTY_BLOCKED
-
BLOCKING_HINT
-
BLOCK_LINK
- See Also:
- Constant Field Values
-
BG_BORDER_SIZE
private static final int BG_BORDER_SIZE- See Also:
- Constant Field Values
-
BG_UNITS
private static final int BG_UNITS- See Also:
- Constant Field Values
-
BG_WIDTH
private static final int BG_WIDTH- See Also:
- Constant Field Values
-
SEARCH_HEIGHT
private static final int SEARCH_HEIGHT- See Also:
- Constant Field Values
-
MARGIN_Y
private static final int MARGIN_Y- See Also:
- Constant Field Values
-
LIST_START
public static final int LIST_START- See Also:
- Constant Field Values
-
SEARCH_START
public static final int SEARCH_START- See Also:
- Constant Field Values
-
IMAGE_WIDTH
private static final int IMAGE_WIDTH- See Also:
- Constant Field Values
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- See Also:
- Constant Field Values
-
ITEM_HEIGHT
private static final int ITEM_HEIGHT- See Also:
- Constant Field Values
-
searchBox
EditBox searchBox -
lastSearch
-
page
-
allButton
-
blockedButton
-
blockingHintButton
-
serverLabel
-
playerCount
private int playerCount -
initialized
private boolean initialized -
postRenderRunnable
-
-
Constructor Details
-
SocialInteractionsScreen
public SocialInteractionsScreen()
-
-
Method Details
-
windowHeight
private int windowHeight() -
backgroundUnits
private int backgroundUnits() -
listEnd
private int listEnd() -
marginX
private int marginX() -
getNarrationMessage
- Overrides:
getNarrationMessagein classScreen
-
tick
public void tick() -
init
protected void init() -
showPage
-
removed
public void removed() -
renderBackground
- Overrides:
renderBackgroundin classScreen
-
render
-
mouseClicked
public boolean mouseClicked(double p_100753_, double p_100754_, int p_100755_) -
keyPressed
public boolean keyPressed(int p_100757_, int p_100758_, int p_100759_)- Specified by:
keyPressedin interfaceContainerEventHandler- Specified by:
keyPressedin interfaceGuiEventListener- Overrides:
keyPressedin classScreen
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreenin classScreen
-
checkSearchStringUpdate
-
updateServerLabel
-
onAddPlayer
-
onRemovePlayer
-
setPostRenderRunnable
-
socialInteractionsPlayerList