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
Modifier and TypeFieldDescriptionprotected static final int
protected static final int
private static final int
protected static final int
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
drawRealmStatus
(GuiGraphics p_312727_, int p_311004_, int p_311259_, int p_310947_, int p_311421_, ResourceLocation p_313063_, Supplier<Component> p_312584_) protected int
firstLineY
(int p_311005_) protected int
protected void
renderClampedString
(GuiGraphics p_311967_, String p_310470_, int p_311349_, int p_310646_, int p_312217_, int p_310447_) protected void
renderStatusLights
(RealmsServer p_312488_, GuiGraphics p_310620_, int p_309999_, int p_309772_, int p_310609_, int p_312927_) protected void
renderThirdLine
(GuiGraphics p_309875_, int p_309431_, int p_312885_, RealmsServer p_311246_) protected int
secondLineY
(int p_309933_) protected int
textX
(int p_312460_) protected int
thirdLineY
(int p_310502_) protected int
versionTextX
(int p_312234_, int p_313052_, Component p_311065_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
getNarration, mouseClicked, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, render, 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
-
STATUS_LIGHT_WIDTH
protected static final int STATUS_LIGHT_WIDTH- See Also:
-
STATUS_LIGHT_HEIGHT
private static final int STATUS_LIGHT_HEIGHT- See Also:
-
PADDING_X
protected static final int PADDING_X- See Also:
-
PADDING_Y
protected static final int PADDING_Y- 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_) -
renderClampedString
protected void renderClampedString(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_)
-