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 classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate Button
private static final int
private static final int
private static final int
private static final String
private Button
private static final Component
private Button
private static final int
private static final Component
private static final Component
(package private) static final Component
private Button
private static final int
private boolean
private static final int
private String
static final int
private static final int
private SocialInteractionsScreen.Page
private int
private static final int
private static final Component
static final int
(package private) EditBox
private Component
protected static final ResourceLocation
(package private) SocialInteractionsPlayerList
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
private void
checkSearchStringUpdate
(String p_100789_) protected void
init()
boolean
boolean
keyPressed
(int p_100757_, int p_100758_, int p_100759_) private int
listEnd()
private int
marginX()
boolean
mouseClicked
(double p_100753_, double p_100754_, int p_100755_) void
onAddPlayer
(PlayerInfo p_100776_) void
onRemovePlayer
(UUID p_100780_) void
void
renderBackground
(PoseStack p_100761_) private void
showPage
(SocialInteractionsScreen.Page p_100772_) void
tick()
private void
updateServerLabel
(Minecraft p_100768_) private int
Methods 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, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods 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, 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.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
Methods 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:
getNarrationMessage
in classScreen
-
tick
public void tick() -
init
protected void init() -
showPage
-
renderBackground
- Overrides:
renderBackground
in classScreen
-
render
- Specified by:
render
in interfaceRenderable
- Overrides:
render
in 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:
keyPressed
in interfaceContainerEventHandler
- Specified by:
keyPressed
in interfaceGuiEventListener
- Overrides:
keyPressed
in classScreen
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreen
in classScreen
-
checkSearchStringUpdate
-
updateServerLabel
-
onAddPlayer
-
onRemovePlayer
-
socialInteractionsPlayerList