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$Entryintermediary net/minecraft/class_4325$class_4866official fok$e
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprivate static final intprotected static final intprotected static final intFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
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
drawBorder, isFocused, isMouseOver, render, setFocusedMethods 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, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
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 bLfok$e;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 aLfok$e;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 cLfok$e;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 dLfok$e;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 aLfok$e;a(Lfpw;Lfxa;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 aLfok$e;a(Lfxa;IIIILame;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 aLfok$e;a(Lfxa;IIIILfpw;)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 aLfok$e;a(Lfxa;IIILfpw;)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 aLfok$e;a(Lfxa;IILfpw;)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 aLfok$e;a(Lfxa;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 aLfok$e;a(IILxo;)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 bLfok$e;b(IILxo;)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 aLfok$e;a(Lfpw;Lfxa;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 aLfok$e;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 bLfok$e;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 bLfok$e;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 cLfok$e;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 dLfok$e;d(I)I
-