Package com.mojang.realmsclient
Class RealmsMainScreen.Entry
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
- 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 TypeFieldDescriptionprivate static final int
private static final int
private 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_306047_, int p_306257_, int p_306190_, int p_306269_, int p_306067_, ResourceLocation p_306301_, Supplier<Component> p_306129_) protected int
firstLineY
(int p_306168_) protected int
protected void
renderClampedName
(GuiGraphics p_306102_, String p_305897_, int p_305934_, int p_306080_, int p_305845_, int p_306320_) protected void
renderStatusLights
(RealmsServer p_305936_, GuiGraphics p_306216_, int p_306276_, int p_305985_, int p_306182_, int p_306221_) protected void
renderThirdLine
(GuiGraphics p_307382_, int p_307598_, int p_307521_, RealmsServer p_307617_) protected int
secondLineY
(int p_306251_) protected int
textX
(int p_305801_) protected int
thirdLineY
(int p_306115_) protected int
versionTextX
(int p_306042_, int p_306287_, Component p_305839_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
getNarration, 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, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods 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_305936_, GuiGraphics p_306216_, int p_306276_, int p_305985_, int p_306182_, int p_306221_) -
drawRealmStatus
private void drawRealmStatus(GuiGraphics p_306047_, int p_306257_, int p_306190_, int p_306269_, int p_306067_, ResourceLocation p_306301_, Supplier<Component> p_306129_) -
renderThirdLine
protected void renderThirdLine(GuiGraphics p_307382_, int p_307598_, int p_307521_, RealmsServer p_307617_) -
renderClampedName
protected void renderClampedName(GuiGraphics p_306102_, String p_305897_, int p_305934_, int p_306080_, int p_305845_, int p_306320_) -
versionTextX
-
firstLineY
protected int firstLineY(int p_306168_) -
lineHeight
protected int lineHeight() -
textX
protected int textX(int p_305801_) -
secondLineY
protected int secondLineY(int p_306251_) -
thirdLineY
protected int thirdLineY(int p_306115_)
-