Package com.mojang.realmsclient
Class RealmsMainScreen.ServerEntry
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.ServerEntry
- All Implemented Interfaces:
GuiEventListener
,TabOrderedElement
,NarrationSupplier
- Enclosing class:
- RealmsMainScreen
-
Field Summary
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 TypeMethodDescriptionboolean
mouseClicked
(double p_86858_, double p_86859_, int p_86860_) void
render
(PoseStack p_86866_, int p_86867_, int p_86868_, int p_86869_, int p_86870_, int p_86871_, int p_86872_, int p_86873_, boolean p_86874_, float p_86875_) private void
renderLegacy
(RealmsServer p_86886_, PoseStack p_86887_, int p_86888_, int p_86889_, int p_86890_, int p_86891_) private void
renderMcoServerItem
(RealmsServer p_86879_, PoseStack p_86880_, int p_86881_, int p_86882_, int p_86883_, int p_86884_) private void
renderStatusLights
(RealmsServer p_272798_, PoseStack p_273673_, int p_273706_, int p_272591_, int p_273561_, int p_273468_, int p_273073_, int p_273187_) 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, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
SKIN_HEAD_LARGE_WIDTH
private static final int SKIN_HEAD_LARGE_WIDTH- See Also:
-
serverData
-
-
Constructor Details
-
ServerEntry
-
-
Method Details
-
render
public void render(PoseStack p_86866_, int p_86867_, int p_86868_, int p_86869_, int p_86870_, int p_86871_, int p_86872_, int p_86873_, boolean p_86874_, float p_86875_) - Specified by:
render
in classAbstractSelectionList.Entry<RealmsMainScreen.Entry>
-
mouseClicked
public boolean mouseClicked(double p_86858_, double p_86859_, int p_86860_) -
renderMcoServerItem
private void renderMcoServerItem(RealmsServer p_86879_, PoseStack p_86880_, int p_86881_, int p_86882_, int p_86883_, int p_86884_) -
renderLegacy
private void renderLegacy(RealmsServer p_86886_, PoseStack p_86887_, int p_86888_, int p_86889_, int p_86890_, int p_86891_) -
renderStatusLights
private void renderStatusLights(RealmsServer p_272798_, PoseStack p_273673_, int p_273706_, int p_272591_, int p_273561_, int p_273468_, int p_273073_, int p_273187_) -
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-
getServer
- Overrides:
getServer
in classRealmsMainScreen.Entry
-