Package com.mojang.realmsclient
Class RealmsMainScreen.AvailableSnapshotEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsMainScreen.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<RealmsMainScreen.Entry>
com.mojang.realmsclient.RealmsMainScreen.Entry
com.mojang.realmsclient.RealmsMainScreen.AvailableSnapshotEntry
- All Implemented Interfaces:
GuiEventListener,TabOrderedElement,LayoutElement,NarrationSupplier
- Enclosing class:
RealmsMainScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RealmsServerprivate static final Componentprivate static final intprivate final WidgetTooltipHolderFields inherited from class com.mojang.realmsclient.RealmsMainScreen.Entry
PADDING_X, PADDING_Y, STATUS_LIGHT_WIDTHFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbooleankeyPressed(KeyEvent p_446206_) booleanmouseClicked(MouseButtonEvent p_445652_, boolean p_435256_) voidrenderContent(GuiGraphics p_439566_, int p_440470_, int p_438889_, boolean p_439430_, float p_439385_) Methods inherited from class com.mojang.realmsclient.RealmsMainScreen.Entry
firstLineY, gameModeTextX, lineHeight, renderClampedString, renderFirstLine, renderGameMode, renderSecondLine, renderStatusLights, renderThirdLine, secondLineY, textX, thirdLineY, versionTextXMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods 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.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
START_SNAPSHOT_REALM
-
TEXT_PADDING
private static final int TEXT_PADDING- See Also:
-
tooltip
-
parent
-
-
Constructor Details
-
AvailableSnapshotEntry
-
-
Method Details
-
renderContent
public void renderContent(GuiGraphics p_439566_, int p_440470_, int p_438889_, boolean p_439430_, float p_439385_) - Specified by:
renderContentin classAbstractSelectionList.Entry<RealmsMainScreen.Entry>
-
mouseClicked
- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-
keyPressed
-
addSnapshotRealm
private void addSnapshotRealm() -
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-