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 classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate Button
private static int
private static int
private static int
private static String
private Button
private static Component
private Button
private static int
private static Component
private static Component
(package private) static Component
private Button
private static int
private boolean
private static int
private String
static int
private static int
private SocialInteractionsScreen.Page
private int
private Runnable
private static int
private static Component
static int
(package private) EditBox
private Component
protected static ResourceLocation
(package private) SocialInteractionsPlayerList
private static Component
private static Component
private static Component
private static Component
private static Component
private static 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
-
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
removed()
void
void
renderBackground(PoseStack p_100761_)
void
setPostRenderRunnable(Runnable p_100778_)
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, 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, 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, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, 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:
- 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:
getNarrationMessage
in classScreen
-
tick
public void tick() -
init
protected void init() -
showPage
-
removed
public void removed() -
renderBackground
- Overrides:
renderBackground
in 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:
keyPressed
in interfaceContainerEventHandler
- Specified by:
keyPressed
in interfaceGuiEventListener
- Overrides:
keyPressed
in classScreen
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreen
in classScreen
-
checkSearchStringUpdate
-
updateServerLabel
-
onAddPlayer
-
onRemovePlayer
-
setPostRenderRunnable
-
socialInteractionsPlayerList