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
,NarrationSupplier
- Enclosing class:
- RealmsMainScreen
-
Field Summary
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
-
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_)
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
changeFocus, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isMouseOver
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, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
SKIN_HEAD_LARGE_WIDTH
private static final int SKIN_HEAD_LARGE_WIDTH- See Also:
- Constant Field Values
-
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_) -
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-