Class RealmsMainScreen.Entry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
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 official eqm$e
intermediary net/minecraft/class_4325$class_4866
named net/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawOwnerOrExpiredText
(DrawContext context, int y, int x, RealmsServer server) private void
drawTextureWithTooltip
(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltip) protected void
drawTrimmedText
(DrawContext context, String string, int left, int y, int right, int color) protected int
getDescriptionY
(int y) protected int
getNameX
(int x) protected int
getNameY
(int y) protected int
getStatusY
(int y) protected int
protected int
getVersionRight
(int x, int width, Text version) protected void
renderStatusIcon
(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
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, render, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
Field Details
-
field_46680
private static final int field_46680- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leqm$e;a:I
intermediary field_46680
Lnet/minecraft/class_4325$class_4866;field_46680:I
named field_46680
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_46680:I
-
field_46681
private static final int field_46681- See Also:
- Mappings:
Namespace Name Mixin selector official c
Leqm$e;c:I
intermediary field_46681
Lnet/minecraft/class_4325$class_4866;field_46681:I
named field_46681
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_46681:I
-
field_46682
private static final int field_46682- See Also:
- Mappings:
Namespace Name Mixin selector official d
Leqm$e;d:I
intermediary field_46682
Lnet/minecraft/class_4325$class_4866;field_46682:I
named field_46682
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;field_46682: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 official a
Leqm$e;a(Leri;Lewu;IIII)V
intermediary method_54350
Lnet/minecraft/class_4325$class_4866;method_54350(Lnet/minecraft/class_4877;Lnet/minecraft/class_332;IIII)V
named renderStatusIcon
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;renderStatusIcon(Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/client/gui/DrawContext;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 official a
Leqm$e;a(Lewu;IIIILahg;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
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
-
drawOwnerOrExpiredText
- Mappings:
Namespace Name Mixin selector official a
Leqm$e;a(Lewu;IILeri;)V
intermediary method_54565
Lnet/minecraft/class_4325$class_4866;method_54565(Lnet/minecraft/class_332;IILnet/minecraft/class_4877;)V
named drawOwnerOrExpiredText
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawOwnerOrExpiredText(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/client/realms/dto/RealmsServer;)V
-
drawTrimmedText
protected void drawTrimmedText(DrawContext context, String string, int left, int y, int right, int color) - Mappings:
Namespace Name Mixin selector official a
Leqm$e;a(Lewu;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
named drawTrimmedText
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;drawTrimmedText(Lnet/minecraft/client/gui/DrawContext;Ljava/lang/String;IIII)V
-
getVersionRight
- Mappings:
Namespace Name Mixin selector official a
Leqm$e;a(IILvf;)I
intermediary method_54346
Lnet/minecraft/class_4325$class_4866;method_54346(IILnet/minecraft/class_2561;)I
named getVersionRight
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getVersionRight(IILnet/minecraft/text/Text;)I
-
getNameY
protected int getNameY(int y) - Mappings:
Namespace Name Mixin selector official a
Leqm$e;a(I)I
intermediary method_54345
Lnet/minecraft/class_4325$class_4866;method_54345(I)I
named getNameY
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getNameY(I)I
-
getTextHeight
protected int getTextHeight()- Mappings:
Namespace Name Mixin selector official b
Leqm$e;b()I
intermediary method_54353
Lnet/minecraft/class_4325$class_4866;method_54353()I
named getTextHeight
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getTextHeight()I
-
getNameX
protected int getNameX(int x) - Mappings:
Namespace Name Mixin selector official b
Leqm$e;b(I)I
intermediary method_54354
Lnet/minecraft/class_4325$class_4866;method_54354(I)I
named getNameX
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getNameX(I)I
-
getDescriptionY
protected int getDescriptionY(int y) - Mappings:
Namespace Name Mixin selector official c
Leqm$e;c(I)I
intermediary method_54356
Lnet/minecraft/class_4325$class_4866;method_54356(I)I
named getDescriptionY
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getDescriptionY(I)I
-
getStatusY
protected int getStatusY(int y) - Mappings:
Namespace Name Mixin selector official d
Leqm$e;d(I)I
intermediary method_54357
Lnet/minecraft/class_4325$class_4866;method_54357(I)I
named getStatusY
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;getStatusY(I)I
-