Package com.mojang.realmsclient
Class RealmsMainScreen.ServerEntry
- java.lang.Object
-
- net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry<E>
-
- net.minecraft.client.gui.widget.list.ExtendedList.AbstractListEntry<RealmsMainScreen.ListEntry>
-
- com.mojang.realmsclient.RealmsMainScreen.ListEntry
-
- com.mojang.realmsclient.RealmsMainScreen.ServerEntry
-
- All Implemented Interfaces:
IGuiEventListener
- Enclosing class:
- RealmsMainScreen
class RealmsMainScreen.ServerEntry extends RealmsMainScreen.ListEntry
-
-
Field Summary
Fields Modifier and Type Field Description private RealmsServer
serverData
-
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list
-
-
Constructor Summary
Constructors Constructor Description ServerEntry(RealmsServer p_i51666_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_)
void
render(MatrixStack p_230432_1_, int p_230432_2_, int p_230432_3_, int p_230432_4_, int p_230432_5_, int p_230432_6_, int p_230432_7_, int p_230432_8_, boolean p_230432_9_, float p_230432_10_)
private void
renderLegacy(RealmsServer p_237679_1_, MatrixStack p_237679_2_, int p_237679_3_, int p_237679_4_, int p_237679_5_, int p_237679_6_)
private void
renderMcoServerItem(RealmsServer p_237678_1_, MatrixStack p_237678_2_, int p_237678_3_, int p_237678_4_, int p_237678_5_, int p_237678_6_)
-
Methods inherited from class net.minecraft.client.gui.widget.list.ExtendedList.AbstractListEntry
changeFocus
-
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
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.IGuiEventListener
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
-
-
-
Field Detail
-
serverData
private final RealmsServer serverData
-
-
Constructor Detail
-
ServerEntry
public ServerEntry(RealmsServer p_i51666_2_)
-
-
Method Detail
-
render
public void render(MatrixStack p_230432_1_, int p_230432_2_, int p_230432_3_, int p_230432_4_, int p_230432_5_, int p_230432_6_, int p_230432_7_, int p_230432_8_, boolean p_230432_9_, float p_230432_10_)
- Specified by:
render
in classAbstractList.AbstractListEntry<RealmsMainScreen.ListEntry>
-
mouseClicked
public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_)
-
renderMcoServerItem
private void renderMcoServerItem(RealmsServer p_237678_1_, MatrixStack p_237678_2_, int p_237678_3_, int p_237678_4_, int p_237678_5_, int p_237678_6_)
-
renderLegacy
private void renderLegacy(RealmsServer p_237679_1_, MatrixStack p_237679_2_, int p_237679_3_, int p_237679_4_, int p_237679_5_, int p_237679_6_)
-
-