Package com.mojang.realmsclient
Class RealmsMainScreen.Entry
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
- All Implemented Interfaces:
GuiEventListener,TabOrderedElement,NarrationSupplier
- Direct Known Subclasses:
RealmsMainScreen.AvailableSnapshotEntry,RealmsMainScreen.ButtonEntry,RealmsMainScreen.EmptyEntry,RealmsMainScreen.NotificationMessageEntry,RealmsMainScreen.ParentEntry,RealmsMainScreen.ServerEntry
- Enclosing class:
RealmsMainScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddrawRealmStatus(GuiGraphics p_312727_, int p_311004_, int p_311259_, int p_310947_, int p_311421_, ResourceLocation p_313063_, Supplier<Component> p_312584_) protected intfirstLineY(int p_311005_) protected intprotected voidrenderClampedName(GuiGraphics p_311967_, String p_310470_, int p_311349_, int p_310646_, int p_312217_, int p_310447_) protected voidrenderStatusLights(RealmsServer p_312488_, GuiGraphics p_310620_, int p_309999_, int p_309772_, int p_310609_, int p_312927_) protected voidrenderThirdLine(GuiGraphics p_309875_, int p_309431_, int p_312885_, RealmsServer p_311246_) protected intsecondLineY(int p_309933_) protected inttextX(int p_312460_) protected intthirdLineY(int p_310502_) protected intversionTextX(int p_312234_, int p_313052_, Component p_311065_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
getNarration, mouseClicked, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, render, renderBack, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
STATUS_LIGHT_WIDTH
private static final int STATUS_LIGHT_WIDTH- See Also:
-
STATUS_LIGHT_HEIGHT
private static final int STATUS_LIGHT_HEIGHT- See Also:
-
PADDING
private static final int PADDING- See Also:
-
-
Constructor Details
-
Entry
Entry()
-
-
Method Details
-
renderStatusLights
protected void renderStatusLights(RealmsServer p_312488_, GuiGraphics p_310620_, int p_309999_, int p_309772_, int p_310609_, int p_312927_) -
drawRealmStatus
private void drawRealmStatus(GuiGraphics p_312727_, int p_311004_, int p_311259_, int p_310947_, int p_311421_, ResourceLocation p_313063_, Supplier<Component> p_312584_) -
renderThirdLine
protected void renderThirdLine(GuiGraphics p_309875_, int p_309431_, int p_312885_, RealmsServer p_311246_) -
renderClampedName
protected void renderClampedName(GuiGraphics p_311967_, String p_310470_, int p_311349_, int p_310646_, int p_312217_, int p_310447_) -
versionTextX
-
firstLineY
protected int firstLineY(int p_311005_) -
lineHeight
protected int lineHeight() -
textX
protected int textX(int p_312460_) -
secondLineY
protected int secondLineY(int p_309933_) -
thirdLineY
protected int thirdLineY(int p_310502_)
-