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,Renderable
-
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 final intprivate static final intprivate static final intprivate static final Stringprivate 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 Componentstatic final int(package private) EditBoxprivate Componentprotected static final ResourceLocation(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.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, widthFields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATIONFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
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_) voidvoidrenderBackground(PoseStack p_100761_) 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, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, 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, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, 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:
-
BG_BORDER_SIZE
private static final int BG_BORDER_SIZE- See Also:
-
BG_UNITS
private static final int BG_UNITS- See Also:
-
BG_WIDTH
private static final int BG_WIDTH- See Also:
-
SEARCH_HEIGHT
private static final int SEARCH_HEIGHT- See Also:
-
MARGIN_Y
private static final int MARGIN_Y- See Also:
-
LIST_START
public static final int LIST_START- See Also:
-
SEARCH_START
public static final int SEARCH_START- See Also:
-
IMAGE_WIDTH
private static final int IMAGE_WIDTH- See Also:
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- See Also:
-
ITEM_HEIGHT
private static final int ITEM_HEIGHT- See Also:
-
searchBox
EditBox searchBox -
lastSearch
-
page
-
allButton
-
blockedButton
-
blockingHintButton
-
serverLabel
-
playerCount
private int playerCount -
initialized
private boolean initialized
-
-
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
-
renderBackground
- Overrides:
renderBackgroundin classScreen
-
render
- Specified by:
renderin interfaceRenderable- Overrides:
renderin classScreen
-
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
-
socialInteractionsPlayerList