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
- Direct Known Subclasses:
- RealmsMainScreen.EmptyEntry,- RealmsMainScreen.ParentRealmSelectionListEntry,- RealmsMainScreen.RealmSelectionListEntry,- RealmsMainScreen.SnapshotEntry,- RealmsMainScreen.VisitButtonEntry,- 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$Entry- intermediary - net/minecraft/class_4325$class_4866- official - fgg$e
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final intprivate static final intprotected static final intprotected static final intFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected intdrawGameMode(RealmsServer server, DrawContext context, int x, int entryWidth, int y) protected voiddrawOwnerOrExpiredText(DrawContext context, int y, int x, 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.EntryappendNarrations, getNarration, mouseClickedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.EntrydrawBorder, isFocused, isMouseOver, render, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementcharTyped, getBorder, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrder
- 
Field Details- 
field_46680protected static final int field_46680- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_46680- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_46680:I- intermediary - field_46680- Lnet/minecraft/class_4325$class_4866;field_46680:I- official - b- Lfgg$e;b:I
 
- 
field_46681private static final int field_46681- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_46681- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_46681:I- intermediary - field_46681- Lnet/minecraft/class_4325$class_4866;field_46681:I- official - a- Lfgg$e;a:I
 
- 
field_52117protected static final int field_52117- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_52117- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_52117:I- intermediary - field_52117- Lnet/minecraft/class_4325$class_4866;field_52117:I- official - c- Lfgg$e;c:I
 
- 
field_52118protected static final int field_52118- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_52118- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_52118:I- intermediary - field_52118- Lnet/minecraft/class_4325$class_4866;field_52118:I- official - d- Lfgg$e;d:I
 
 
- 
- 
Constructor Details- 
EntryEntry()
 
- 
- 
Method Details- 
renderStatusIconprotected void renderStatusIcon(RealmsServer server, DrawContext context, int x, int y, int mouseX, int mouseY) - Mappings:
- Namespace - Name - Mixin selector - named - renderStatusIcon- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;renderStatusIcon(Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/client/gui/DrawContext;IIII)V- intermediary - method_54350- Lnet/minecraft/class_4325$class_4866;method_54350(Lnet/minecraft/class_4877;Lnet/minecraft/class_332;IIII)V- official - a- Lfgg$e;a(Lfhm;Lfof;IIII)V
 
- 
drawTextureWithTooltipprivate void drawTextureWithTooltip(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltip) - Mappings:
- Namespace - Name - Mixin selector - named - drawTextureWithTooltip- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawTextureWithTooltip(Lnet/minecraft/client/gui/DrawContext;IIIILnet/minecraft/util/Identifier;Ljava/util/function/Supplier;)V- intermediary - method_54351- Lnet/minecraft/class_4325$class_4866;method_54351(Lnet/minecraft/class_332;IIIILnet/minecraft/class_2960;Ljava/util/function/Supplier;)V- official - a- Lfgg$e;a(Lfof;IIIILakv;Ljava/util/function/Supplier;)V
 
- 
drawOwnerOrExpiredText- Mappings:
- Namespace - Name - Mixin selector - named - drawOwnerOrExpiredText- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawOwnerOrExpiredText(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/client/realms/dto/RealmsServer;)V- intermediary - method_54565- Lnet/minecraft/class_4325$class_4866;method_54565(Lnet/minecraft/class_332;IILnet/minecraft/class_4877;)V- official - a- Lfgg$e;a(Lfof;IILfhm;)V
 
- 
drawTrimmedTextprotected void drawTrimmedText(DrawContext context, @Nullable @Nullable String string, int left, int y, int right, int color) - Mappings:
- Namespace - Name - Mixin selector - named - drawTrimmedText- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawTrimmedText(Lnet/minecraft/client/gui/DrawContext;Ljava/lang/String;IIII)V- intermediary - method_54352- Lnet/minecraft/class_4325$class_4866;method_54352(Lnet/minecraft/class_332;Ljava/lang/String;IIII)V- official - a- Lfgg$e;a(Lfof;Ljava/lang/String;IIII)V
 
- 
getVersionRight- Mappings:
- Namespace - Name - Mixin selector - named - getVersionRight- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getVersionRight(IILnet/minecraft/text/Text;)I- intermediary - method_54346- Lnet/minecraft/class_4325$class_4866;method_54346(IILnet/minecraft/class_2561;)I- official - a- Lfgg$e;a(IILwp;)I
 
- 
getGameModeRight- Mappings:
- Namespace - Name - Mixin selector - named - getGameModeRight- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getGameModeRight(IILnet/minecraft/text/Text;)I- intermediary - method_64839- Lnet/minecraft/class_4325$class_4866;method_64839(IILnet/minecraft/class_2561;)I- official - b- Lfgg$e;b(IILwp;)I
 
- 
drawGameMode- Mappings:
- Namespace - Name - Mixin selector - named - drawGameMode- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawGameMode(Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/client/gui/DrawContext;III)I- intermediary - method_64838- Lnet/minecraft/class_4325$class_4866;method_64838(Lnet/minecraft/class_4877;Lnet/minecraft/class_332;III)I- official - a- Lfgg$e;a(Lfhm;Lfof;III)I
 
- 
getNameYprotected int getNameY(int y) - Mappings:
- Namespace - Name - Mixin selector - named - getNameY- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getNameY(I)I- intermediary - method_54345- Lnet/minecraft/class_4325$class_4866;method_54345(I)I- official - a- Lfgg$e;a(I)I
 
- 
getTextHeightprotected int getTextHeight()- Mappings:
- Namespace - Name - Mixin selector - named - getTextHeight- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getTextHeight()I- intermediary - method_54353- Lnet/minecraft/class_4325$class_4866;method_54353()I- official - b- Lfgg$e;b()I
 
- 
getNameXprotected int getNameX(int x) - Mappings:
- Namespace - Name - Mixin selector - named - getNameX- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getNameX(I)I- intermediary - method_54354- Lnet/minecraft/class_4325$class_4866;method_54354(I)I- official - b- Lfgg$e;b(I)I
 
- 
getDescriptionYprotected int getDescriptionY(int y) - Mappings:
- Namespace - Name - Mixin selector - named - getDescriptionY- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getDescriptionY(I)I- intermediary - method_54356- Lnet/minecraft/class_4325$class_4866;method_54356(I)I- official - c- Lfgg$e;c(I)I
 
- 
getStatusYprotected int getStatusY(int y) - Mappings:
- Namespace - Name - Mixin selector - named - getStatusY- Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getStatusY(I)I- intermediary - method_54357- Lnet/minecraft/class_4325$class_4866;method_54357(I)I- official - d- Lfgg$e;d(I)I
 
 
-