Class RealmsMainScreen.Entry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<RealmsMainScreen.Entry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<RealmsMainScreen.Entry>
net.minecraft.client.realms.gui.screen.RealmsMainScreen.Entry
- All Implemented Interfaces:
Element,Narratable,Navigable,Widget
- Direct Known Subclasses:
RealmsMainScreen.ParentRealmSelectionListEntry,RealmsMainScreen.RealmSelectionListEntry,RealmsMainScreen.SnapshotEntry,RealmsMainScreen.VisitUrlNotification
- Enclosing class:
RealmsMainScreen
@Environment(CLIENT)
private abstract class RealmsMainScreen.Entry
extends AlwaysSelectedEntryListWidget.Entry<RealmsMainScreen.Entry>
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsMainScreen$Entryintermediary net/minecraft/class_4325$class_4866official fui$c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprivate static final intprotected static final intprotected static final intFields inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
PADDING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawDescription(DrawContext context, int y, int x, int width, RealmsServer server) protected intdrawGameMode(RealmsServer server, DrawContext context, int x, int entryWidth, int y) protected voiddrawOwnerOrExpiredText(DrawContext context, int y, int x, RealmsServer server) protected voiddrawServerNameAndVersion(DrawContext context, int y, int x, int width, int color, RealmsServer server) private voiddrawTextureWithTooltip(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltip) protected voiddrawTrimmedText(DrawContext context, @Nullable String string, int left, int y, int right, int color) protected intgetDescriptionY(int y) protected intgetGameModeRight(int x, int width, Text gameMode) protected intgetNameX(int x) protected intgetNameY(int y) protected intgetStatusY(int y) protected intprotected intgetVersionRight(int x, int width, Text version) protected voidrenderStatusIcon(RealmsServer server, DrawContext context, int x, int y, int mouseX, int mouseY) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations, getNarration, mouseClickedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
forEachChild, getContentBottomEnd, getContentHeight, getContentMiddleX, getContentMiddleY, getContentRightEnd, getContentWidth, getContentX, getContentY, getHeight, getNavigationFocus, getWidth, getX, getY, isFocused, isMouseOver, render, setFocused, setHeight, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, getBorder, getFocusedPath, getNavigationPath, isClickable, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
field_46680
protected static final int field_46680- See Also:
- Mappings:
Namespace Name Mixin selector named field_46680Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_46680:Iintermediary field_46680Lnet/minecraft/class_4325$class_4866;field_46680:Iofficial bLfui$c;b:I
-
field_46681
private static final int field_46681- See Also:
- Mappings:
Namespace Name Mixin selector named field_46681Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_46681:Iintermediary field_46681Lnet/minecraft/class_4325$class_4866;field_46681:Iofficial aLfui$c;a:I
-
field_52117
protected static final int field_52117- See Also:
- Mappings:
Namespace Name Mixin selector named field_52117Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_52117:Iintermediary field_52117Lnet/minecraft/class_4325$class_4866;field_52117:Iofficial cLfui$c;c:I
-
field_52118
protected static final int field_52118- See Also:
- Mappings:
Namespace Name Mixin selector named field_52118Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_52118:Iintermediary field_52118Lnet/minecraft/class_4325$class_4866;field_52118:Iofficial dLfui$c;d:I
-
-
Constructor Details
-
Entry
Entry()
-
-
Method Details
-
renderStatusIcon
protected void renderStatusIcon(RealmsServer server, DrawContext context, int x, int y, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector named renderStatusIconLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;renderStatusIcon(Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/client/gui/DrawContext;IIII)Vintermediary method_54350Lnet/minecraft/class_4325$class_4866;method_54350(Lnet/minecraft/class_4877;Lnet/minecraft/class_332;IIII)Vofficial aLfui$c;a(Lfvt;Lgdd;IIII)V
-
drawTextureWithTooltip
private void drawTextureWithTooltip(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltip) - Mappings:
Namespace Name Mixin selector named drawTextureWithTooltipLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawTextureWithTooltip(Lnet/minecraft/client/gui/DrawContext;IIIILnet/minecraft/util/Identifier;Ljava/util/function/Supplier;)Vintermediary method_54351Lnet/minecraft/class_4325$class_4866;method_54351(Lnet/minecraft/class_332;IIIILnet/minecraft/class_2960;Ljava/util/function/Supplier;)Vofficial aLfui$c;a(Lgdd;IIIILamj;Ljava/util/function/Supplier;)V
-
drawServerNameAndVersion
protected void drawServerNameAndVersion(DrawContext context, int y, int x, int width, int color, RealmsServer server) - Mappings:
Namespace Name Mixin selector named drawServerNameAndVersionLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawServerNameAndVersion(Lnet/minecraft/client/gui/DrawContext;IIIILnet/minecraft/client/realms/dto/RealmsServer;)Vintermediary method_71040Lnet/minecraft/class_4325$class_4866;method_71040(Lnet/minecraft/class_332;IIIILnet/minecraft/class_4877;)Vofficial aLfui$c;a(Lgdd;IIIILfvt;)V
-
drawDescription
- Mappings:
Namespace Name Mixin selector named drawDescriptionLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawDescription(Lnet/minecraft/client/gui/DrawContext;IIILnet/minecraft/client/realms/dto/RealmsServer;)Vintermediary method_71041Lnet/minecraft/class_4325$class_4866;method_71041(Lnet/minecraft/class_332;IIILnet/minecraft/class_4877;)Vofficial aLfui$c;a(Lgdd;IIILfvt;)V
-
drawOwnerOrExpiredText
- Mappings:
Namespace Name Mixin selector named drawOwnerOrExpiredTextLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawOwnerOrExpiredText(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/client/realms/dto/RealmsServer;)Vintermediary method_54565Lnet/minecraft/class_4325$class_4866;method_54565(Lnet/minecraft/class_332;IILnet/minecraft/class_4877;)Vofficial aLfui$c;a(Lgdd;IILfvt;)V
-
drawTrimmedText
protected void drawTrimmedText(DrawContext context, @Nullable @Nullable String string, int left, int y, int right, int color) - Mappings:
Namespace Name Mixin selector named drawTrimmedTextLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawTrimmedText(Lnet/minecraft/client/gui/DrawContext;Ljava/lang/String;IIII)Vintermediary method_54352Lnet/minecraft/class_4325$class_4866;method_54352(Lnet/minecraft/class_332;Ljava/lang/String;IIII)Vofficial aLfui$c;a(Lgdd;Ljava/lang/String;IIII)V
-
getVersionRight
- Mappings:
Namespace Name Mixin selector named getVersionRightLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getVersionRight(IILnet/minecraft/text/Text;)Iintermediary method_54346Lnet/minecraft/class_4325$class_4866;method_54346(IILnet/minecraft/class_2561;)Iofficial aLfui$c;a(IILxx;)I
-
getGameModeRight
- Mappings:
Namespace Name Mixin selector named getGameModeRightLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getGameModeRight(IILnet/minecraft/text/Text;)Iintermediary method_64839Lnet/minecraft/class_4325$class_4866;method_64839(IILnet/minecraft/class_2561;)Iofficial bLfui$c;b(IILxx;)I
-
drawGameMode
- Mappings:
Namespace Name Mixin selector named drawGameModeLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawGameMode(Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/client/gui/DrawContext;III)Iintermediary method_64838Lnet/minecraft/class_4325$class_4866;method_64838(Lnet/minecraft/class_4877;Lnet/minecraft/class_332;III)Iofficial aLfui$c;a(Lfvt;Lgdd;III)I
-
getNameY
protected int getNameY(int y) - Mappings:
Namespace Name Mixin selector named getNameYLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getNameY(I)Iintermediary method_54345Lnet/minecraft/class_4325$class_4866;method_54345(I)Iofficial aLfui$c;a(I)I
-
getTextHeight
protected int getTextHeight()- Mappings:
Namespace Name Mixin selector named getTextHeightLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getTextHeight()Iintermediary method_54353Lnet/minecraft/class_4325$class_4866;method_54353()Iofficial bLfui$c;b()I
-
getNameX
protected int getNameX(int x) - Mappings:
Namespace Name Mixin selector named getNameXLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getNameX(I)Iintermediary method_54354Lnet/minecraft/class_4325$class_4866;method_54354(I)Iofficial bLfui$c;b(I)I
-
getDescriptionY
protected int getDescriptionY(int y) - Mappings:
Namespace Name Mixin selector named getDescriptionYLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getDescriptionY(I)Iintermediary method_54356Lnet/minecraft/class_4325$class_4866;method_54356(I)Iofficial cLfui$c;c(I)I
-
getStatusY
protected int getStatusY(int y) - Mappings:
Namespace Name Mixin selector named getStatusYLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getStatusY(I)Iintermediary method_54357Lnet/minecraft/class_4325$class_4866;method_54357(I)Iofficial dLfui$c;d(I)I
-