Package com.mojang.realmsclient
Class RealmsMainScreen.AvailableSnapshotEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
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 Tooltip
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_306133_, int p_305857_, int p_306123_) boolean
mouseClicked
(double p_306312_, double p_306107_, int p_306043_) 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_) Methods inherited from class com.mojang.realmsclient.RealmsMainScreen.Entry
firstLineY, lineHeight, renderClampedName, 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_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:
render
in classAbstractSelectionList.Entry<RealmsMainScreen.Entry>
-
mouseClicked
public boolean mouseClicked(double p_306312_, double p_306107_, int p_306043_) -
keyPressed
public boolean keyPressed(int p_306133_, int p_305857_, int p_306123_) -
addSnapshotRealm
private void addSnapshotRealm() -
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-