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,NarrationSupplier
- Enclosing class:
RealmsMainScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RealmsServerprivate static final Componentprivate static final intprivate final WidgetTooltipHolderFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbooleankeyPressed(int p_306133_, int p_305857_, int p_306123_) booleanmouseClicked(double p_306312_, double p_306107_, int p_306043_) voidrender(GuiGraphics p_305850_, int p_305808_, int p_305963_, int p_306050_, int p_306209_, int p_305982_, int p_306247_, int p_306293_, boolean p_306089_, float p_306015_) Methods inherited from class com.mojang.realmsclient.RealmsMainScreen.Entry
firstLineY, lineHeight, renderClampedName, 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
isFocused, isMouseOver, renderBack, setFocusedMethods 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, getCurrentFocusPath, getRectangle, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods 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
-
render
public void render(GuiGraphics p_305850_, int p_305808_, int p_305963_, int p_306050_, int p_306209_, int p_305982_, int p_306247_, int p_306293_, boolean p_306089_, float p_306015_) - Specified by:
renderin classAbstractSelectionList.Entry<RealmsMainScreen.Entry>
-
mouseClicked
public boolean mouseClicked(double p_306312_, double p_306107_, int p_306043_) - Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-
keyPressed
public boolean keyPressed(int p_306133_, int p_305857_, int p_306123_) -
addSnapshotRealm
private void addSnapshotRealm() -
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-