Class SocialInteractionsScreen
java.lang.Object
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,- Renderable,- TabOrderedElement
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate Buttonprivate static final ResourceLocationprivate static final intprivate static final intprivate Buttonprivate static final Componentprivate Buttonprivate static final intprivate static final Componentprivate static final Component(package private) static final Componentprivate Buttonprivate static final intprivate booleanprivate static final intprivate Stringstatic final intprivate static final intprivate SocialInteractionsScreen.Pageprivate intprivate static final intprivate static final Componentprivate static final ResourceLocationstatic final int(package private) EditBoxprivate Component(package private) SocialInteractionsPlayerListprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final ComponentFields inherited from class net.minecraft.client.gui.screens.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidcheckSearchStringUpdate(String p_100789_) protected voidinit()booleanbooleankeyPressed(int p_100757_, int p_100758_, int p_100759_) private intlistEnd()private intmarginX()voidonAddPlayer(PlayerInfo p_100776_) voidonRemovePlayer(UUID p_100780_) voidrender(GuiGraphics p_282516_, int p_100764_, int p_100765_, float p_100766_) voidrenderBackground(GuiGraphics p_283202_, int p_299912_, int p_301406_, float p_300377_) private voidshowPage(SocialInteractionsScreen.Page p_100772_) private voidupdateServerLabel(Minecraft p_100768_) private intMethods inherited from class net.minecraft.client.gui.screens.Screenadded, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
BACKGROUND_SPRITE
- 
SEARCH_SPRITE
- 
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
- 
BG_BORDER_SIZEprivate static final int BG_BORDER_SIZE- See Also:
 
- 
BG_WIDTHprivate static final int BG_WIDTH- See Also:
 
- 
SEARCH_HEIGHTprivate static final int SEARCH_HEIGHT- See Also:
 
- 
MARGIN_Yprivate static final int MARGIN_Y- See Also:
 
- 
SEARCH_STARTpublic static final int SEARCH_START- See Also:
 
- 
LIST_STARTpublic static final int LIST_START- See Also:
 
- 
IMAGE_WIDTHprivate static final int IMAGE_WIDTH- See Also:
 
- 
BUTTON_HEIGHTprivate static final int BUTTON_HEIGHT- See Also:
 
- 
ITEM_HEIGHTprivate static final int ITEM_HEIGHT- See Also:
 
- 
searchBoxEditBox searchBox
- 
lastSearch
- 
page
- 
allButton
- 
blockedButton
- 
blockingHintButton
- 
serverLabel
- 
playerCountprivate int playerCount
- 
initializedprivate boolean initialized
 
- 
- 
Constructor Details- 
SocialInteractionsScreenpublic SocialInteractionsScreen()
 
- 
- 
Method Details- 
windowHeightprivate int windowHeight()
- 
listEndprivate int listEnd()
- 
marginXprivate int marginX()
- 
getNarrationMessage- Overrides:
- getNarrationMessagein class- Screen
 
- 
initprotected void init()
- 
showPage
- 
renderBackground- Overrides:
- renderBackgroundin class- Screen
 
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- Screen
 
- 
keyPressedpublic boolean keyPressed(int p_100757_, int p_100758_, int p_100759_) - Specified by:
- keyPressedin interface- ContainerEventHandler
- Specified by:
- keyPressedin interface- GuiEventListener
- Overrides:
- keyPressedin class- Screen
 
- 
isPauseScreenpublic boolean isPauseScreen()- Overrides:
- isPauseScreenin class- Screen
 
- 
checkSearchStringUpdate
- 
updateServerLabel
- 
onAddPlayer
- 
onRemovePlayer
 
- 
socialInteractionsPlayerList