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_309531_, int p_310526_, int p_312670_) booleanmouseClicked(double p_310312_, double p_309519_, int p_313156_) voidrender(GuiGraphics p_310547_, int p_310078_, int p_309934_, int p_311127_, int p_310500_, int p_311639_, int p_311442_, int p_309408_, boolean p_312327_, float p_309422_) 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_310547_, int p_310078_, int p_309934_, int p_311127_, int p_310500_, int p_311639_, int p_311442_, int p_309408_, boolean p_312327_, float p_309422_) - Specified by:
renderin classAbstractSelectionList.Entry<RealmsMainScreen.Entry>
-
mouseClicked
public boolean mouseClicked(double p_310312_, double p_309519_, int p_313156_) - Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-
keyPressed
public boolean keyPressed(int p_309531_, int p_310526_, int p_312670_) -
addSnapshotRealm
private void addSnapshotRealm() -
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-