类 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
- 所有已实现的接口:
GuiEventListener
,TabOrderedElement
,NarrationSupplier
- 直接已知子类:
RealmsMainScreen.AvailableSnapshotEntry
,RealmsMainScreen.ButtonEntry
,RealmsMainScreen.EmptyEntry
,RealmsMainScreen.NotificationMessageEntry
,RealmsMainScreen.ParentEntry
,RealmsMainScreen.ServerEntry
- 封闭类:
RealmsMainScreen
-
字段概要
字段修饰符和类型字段说明protected static final int
protected static final int
private static final int
protected static final int
从类继承的字段 net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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_) protected int
firstLineY
(int p_311005_) protected int
gameModeTextX
(int p_361673_, int p_369353_, Component p_362134_) protected int
protected void
renderClampedString
(GuiGraphics p_311967_, String p_310470_, int p_311349_, int p_310646_, int p_312217_, int p_310447_) protected int
renderGameMode
(RealmsServer p_363303_, GuiGraphics p_363659_, int p_362703_, int p_363524_, int p_362657_) 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_) 从类继承的方法 net.minecraft.client.gui.components.ObjectSelectionList.Entry
getNarration, mouseClicked, updateNarration
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, render, renderBack, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
STATUS_LIGHT_WIDTH
protected static final int STATUS_LIGHT_WIDTH- 另请参阅:
-
STATUS_LIGHT_HEIGHT
private static final int STATUS_LIGHT_HEIGHT- 另请参阅:
-
PADDING_X
protected static final int PADDING_X- 另请参阅:
-
PADDING_Y
protected static final int PADDING_Y- 另请参阅:
-
-
构造器详细资料
-
Entry
Entry()
-
-
方法详细资料
-
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_, @Nullable String p_310470_, int p_311349_, int p_310646_, int p_312217_, int p_310447_) -
versionTextX
-
gameModeTextX
-
renderGameMode
protected int renderGameMode(RealmsServer p_363303_, GuiGraphics p_363659_, int p_362703_, int p_363524_, int p_362657_) -
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_)
-