net.minecraft.client.realms.gui.screen

abstract class RealmsMainScreen$Entry

extends AlwaysSelectedEntryListWidget$Entry<RealmsMainScreen$Entry>

All mapped superinterfaces:

Widget, Element, Navigable, Narratable

com.mojang.realmsclient.RealmsMainScreen$Entry
net.minecraft.class_4325$class_4866
net.minecraft.client.realms.gui.screen.RealmsMainScreen$Entry

Field summary

Modifier and TypeField
protected static final int
STATUS_LIGHT_WIDTH
field_46680
field_46680
private static final int
STATUS_LIGHT_HEIGHT
field_46681
field_46681
protected static final int
PADDING_X
field_52117
field_52117
protected static final int
PADDING_Y
field_52118
field_52118
final RealmsMainScreen
this$0
field_22567
field_22567

Constructor summary

ModifierConstructor
private (RealmsMainScreen this$0)

Method summary

Modifier and TypeMethod
protected void
extractStatusLights(RealmsServer serverData, GuiGraphicsExtractor graphics, int rowRight, int rowTop, int mouseX, int mouseY)
method_54350(class_4877 arg0, class_332 arg1, int arg2, int arg3, int arg4, int arg5)
renderStatusIcon(RealmsServer server, DrawContext context, int x, int y, int mouseX, int mouseY)
private void
extractRealmStatus(GuiGraphicsExtractor graphics, int x, int y, int xm, int ym, Identifier sprite, Supplier<Component> tooltip)
method_54351(class_332 arg0, int arg1, int arg2, int arg3, int arg4, class_2960 arg5, Supplier<class_2561> arg6)
drawTextureWithTooltip(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltip)
protected void
extractFirstLine(GuiGraphicsExtractor graphics, int rowTop, int rowLeft, int rowWidth, int serverNameColor, RealmsServer serverData)
method_71040(class_332 arg0, int arg1, int arg2, int arg3, int arg4, class_4877 arg5)
drawServerNameAndVersion(DrawContext context, int y, int x, int width, int color, RealmsServer server)
protected void
extractSecondLine(GuiGraphicsExtractor graphics, int rowTop, int rowLeft, int rowWidth, RealmsServer serverData)
method_71041(class_332 arg0, int arg1, int arg2, int arg3, class_4877 arg4)
drawDescription(DrawContext context, int y, int x, int width, RealmsServer server)
protected void
extractThirdLine(GuiGraphicsExtractor graphics, int rowTop, int rowLeft, RealmsServer server)
method_54565(class_332 arg0, int arg1, int arg2, class_4877 arg3)
drawOwnerOrExpiredText(DrawContext context, int y, int x, RealmsServer server)
protected void
extractClampedString(GuiGraphicsExtractor graphics, String string, int x, int y, int maxX, int color)
method_54352(class_332 arg0, String arg1, int arg2, int arg3, int arg4, int arg5)
drawTrimmedText(DrawContext context, String string, int left, int y, int right, int color)
protected int
versionTextX(int rowLeft, int rowWidth, Component versionComponent)
method_54346(int arg0, int arg1, class_2561 arg2)
getVersionRight(int x, int width, Text version)
protected int
gameModeTextX(int rowLeft, int rowWidth, Component versionComponent)
method_64839(int arg0, int arg1, class_2561 arg2)
getGameModeRight(int x, int width, Text gameMode)
protected int
extractGameMode(RealmsServer server, GuiGraphicsExtractor graphics, int rowLeft, int rowWidth, int firstLineY)
method_64838(class_4877 arg0, class_332 arg1, int arg2, int arg3, int arg4)
drawGameMode(RealmsServer server, DrawContext context, int x, int entryWidth, int y)
protected int
firstLineY(int rowTop)
method_54345(int arg0)
getNameY(int y)
protected int
lineHeight()
method_54353()
getTextHeight()
protected int
textX(int rowLeft)
method_54354(int arg0)
getNameX(int x)
protected int
secondLineY(int firstLineY)
method_54356(int arg0)
getDescriptionY(int y)
protected int
thirdLineY(int firstLineY)
method_54357(int arg0)
getStatusY(int y)
private static Text
lambda$extractStatusLights$3()
method_54355()
method_54355()
private static Text
lambda$extractStatusLights$2(RealmsServer arg0)
method_54348(class_4877 arg0)
method_54348(RealmsServer arg0)
private static Text
lambda$extractStatusLights$1()
method_54358()
method_54358()
private static Text
lambda$extractStatusLights$0()
method_54359()
method_54359()