类 RealmsMainScreen.ServerEntry
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
com.mojang.realmsclient.RealmsMainScreen.ServerEntry
- 所有已实现的接口:
GuiEventListener
,TabOrderedElement
,NarrationSupplier
- 封闭类:
RealmsMainScreen
-
字段概要
字段修饰符和类型字段说明private static final Component
private static final int
private final RealmsServer
private static final int
private final WidgetTooltipHolder
从类继承的字段 com.mojang.realmsclient.RealmsMainScreen.Entry
PADDING_X, PADDING_Y, STATUS_LIGHT_WIDTH
从类继承的字段 net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
boolean
keyPressed
(int p_279120_, int p_279121_, int p_279296_) boolean
mouseClicked
(double p_86858_, double p_86859_, int p_86860_) private void
void
render
(GuiGraphics p_283093_, int p_281645_, int p_283047_, int p_283525_, int p_282321_, int p_282391_, int p_281913_, int p_282475_, boolean p_282378_, float p_282843_) private void
renderFirstLine
(GuiGraphics p_311326_, int p_311522_, int p_312647_, int p_310935_) private boolean
renderOnlinePlayers
(GuiGraphics p_343952_, int p_344863_, int p_344728_, int p_342937_, int p_345144_, int p_344520_, int p_342333_) private void
renderSecondLine
(GuiGraphics p_311635_, int p_311064_, int p_310167_, int p_368548_) 从类继承的方法 com.mojang.realmsclient.RealmsMainScreen.Entry
firstLineY, gameModeTextX, lineHeight, renderClampedString, renderGameMode, renderStatusLights, renderThirdLine, secondLineY, textX, thirdLineY, versionTextX
从类继承的方法 net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarration
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, 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, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
ONLINE_PLAYERS_TOOLTIP_HEADER
-
PLAYERS_ONLINE_SPRITE_SIZE
private static final int PLAYERS_ONLINE_SPRITE_SIZE- 另请参阅:
-
SKIN_HEAD_LARGE_WIDTH
private static final int SKIN_HEAD_LARGE_WIDTH- 另请参阅:
-
serverData
-
tooltip
-
-
构造器详细资料
-
ServerEntry
-
-
方法详细资料
-
render
public void render(GuiGraphics p_283093_, int p_281645_, int p_283047_, int p_283525_, int p_282321_, int p_282391_, int p_281913_, int p_282475_, boolean p_282378_, float p_282843_) -
renderFirstLine
-
renderSecondLine
-
renderOnlinePlayers
private boolean renderOnlinePlayers(GuiGraphics p_343952_, int p_344863_, int p_344728_, int p_342937_, int p_345144_, int p_344520_, int p_342333_) -
playRealm
private void playRealm() -
createUnitializedRealm
private void createUnitializedRealm() -
mouseClicked
public boolean mouseClicked(double p_86858_, double p_86859_, int p_86860_) - 指定者:
mouseClicked
在接口中GuiEventListener
- 覆盖:
mouseClicked
在类中ObjectSelectionList.Entry<RealmsMainScreen.Entry>
-
keyPressed
public boolean keyPressed(int p_279120_, int p_279121_, int p_279296_) -
getNarration
-
getServer
-