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 fbt$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 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, String string, int left, int y, int right, int color) protected intgetDescriptionY(int y) 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, 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 bLfbt$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 aLfbt$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 cLfbt$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 dLfbt$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 aLfbt$e;a(Lfcp;Lfhz;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 aLfbt$e;a(Lfhz;IIIILakr;Ljava/util/function/Supplier;)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 aLfbt$e;a(Lfhz;IILfcp;)V
-
drawTrimmedText
protected void drawTrimmedText(DrawContext context, 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 aLfbt$e;a(Lfhz;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 aLfbt$e;a(IILwz;)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 aLfbt$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 bLfbt$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 bLfbt$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 cLfbt$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 dLfbt$e;d(I)I
-