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
Modifier and TypeFieldDescriptionprivate final RealmsServer
private static final Component
private static final int
private final WidgetTooltipHolder
Fields inherited from class com.mojang.realmsclient.RealmsMainScreen.Entry
PADDING_X, PADDING_Y, STATUS_LIGHT_WIDTH
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
boolean
keyPressed
(int p_309531_, int p_310526_, int p_312670_) boolean
mouseClicked
(double p_310312_, double p_309519_, int p_313156_) 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_) Methods inherited from class com.mojang.realmsclient.RealmsMainScreen.Entry
firstLineY, lineHeight, renderClampedString, renderStatusLights, renderThirdLine, secondLineY, textX, thirdLineY, versionTextX
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocused
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.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods 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:
render
in classAbstractSelectionList.Entry<RealmsMainScreen.Entry>
-
mouseClicked
public boolean mouseClicked(double p_310312_, double p_309519_, int p_313156_) - Specified by:
mouseClicked
in interfaceGuiEventListener
- Overrides:
mouseClicked
in classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-
keyPressed
public boolean keyPressed(int p_309531_, int p_310526_, int p_312670_) -
addSnapshotRealm
private void addSnapshotRealm() -
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-