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 SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.EntrylistFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voiddrawRealmStatus(GuiGraphics p_306047_, int p_306257_, int p_306190_, int p_306269_, int p_306067_, ResourceLocation p_306301_, Supplier<Component> p_306129_) protected intfirstLineY(int p_306168_) protected intprotected voidrenderClampedName(GuiGraphics p_306102_, String p_305897_, int p_305934_, int p_306080_, int p_305845_, int p_306320_) protected voidrenderStatusLights(RealmsServer p_305936_, GuiGraphics p_306216_, int p_306276_, int p_305985_, int p_306182_, int p_306221_) protected voidrenderThirdLine(GuiGraphics p_307382_, int p_307598_, int p_307521_, RealmsServer p_307617_) protected intsecondLineY(int p_306251_) protected inttextX(int p_305801_) protected intthirdLineY(int p_306115_) protected intversionTextX(int p_306042_, int p_306287_, Component p_305839_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.EntrygetNarration, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.EntryisFocused, isMouseOver, render, renderBack, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenercharTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
STATUS_LIGHT_WIDTHprivate static final int STATUS_LIGHT_WIDTH- See Also:
 
- 
STATUS_LIGHT_HEIGHTprivate static final int STATUS_LIGHT_HEIGHT- See Also:
 
- 
PADDINGprivate static final int PADDING- See Also:
 
 
- 
- 
Constructor Details- 
EntryEntry()
 
- 
- 
Method Details- 
renderStatusLightsprotected void renderStatusLights(RealmsServer p_305936_, GuiGraphics p_306216_, int p_306276_, int p_305985_, int p_306182_, int p_306221_) 
- 
drawRealmStatusprivate void drawRealmStatus(GuiGraphics p_306047_, int p_306257_, int p_306190_, int p_306269_, int p_306067_, ResourceLocation p_306301_, Supplier<Component> p_306129_) 
- 
renderThirdLineprotected void renderThirdLine(GuiGraphics p_307382_, int p_307598_, int p_307521_, RealmsServer p_307617_) 
- 
renderClampedNameprotected void renderClampedName(GuiGraphics p_306102_, String p_305897_, int p_305934_, int p_306080_, int p_305845_, int p_306320_) 
- 
versionTextX
- 
firstLineYprotected int firstLineY(int p_306168_) 
- 
lineHeightprotected int lineHeight()
- 
textXprotected int textX(int p_305801_) 
- 
secondLineYprotected int secondLineY(int p_306251_) 
- 
thirdLineYprotected int thirdLineY(int p_306115_) 
 
-