Class RealmsBackupInfoScreen.BackupInfoListEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>
net.minecraft.client.realms.gui.screen.RealmsBackupInfoScreen.BackupInfoListEntry
- All Implemented Interfaces:
Element
,Narratable
,Navigable
- Enclosing class:
RealmsBackupInfoScreen
@Environment(CLIENT)
private class RealmsBackupInfoScreen.BackupInfoListEntry
extends AlwaysSelectedEntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>
- Mappings:
Namespace Name official esn$b
intermediary net/minecraft/class_4379$class_5344
named net/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private static final Text
private static final Text
private static final Text
private static final Text
private final String
private static final Text
private static final Text
private static final Text
private static final Text
private static final Text
private final String
private static final Text
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Text
getTextFromKey
(String key) boolean
mouseClicked
(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.void
render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, 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, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
Field Details
-
TEMPLATE_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official b
Lesn$b;b:Lvf;
intermediary field_44895
Lnet/minecraft/class_4379$class_5344;field_44895:Lnet/minecraft/class_2561;
named TEMPLATE_NAME_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;TEMPLATE_NAME_TEXT:Lnet/minecraft/text/Text;
-
GAME_DIFFICULTY_TEXT
- Mappings:
Namespace Name Mixin selector official c
Lesn$b;c:Lvf;
intermediary field_44896
Lnet/minecraft/class_4379$class_5344;field_44896:Lnet/minecraft/class_2561;
named GAME_DIFFICULTY_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_DIFFICULTY_TEXT:Lnet/minecraft/text/Text;
-
NAME_TEXT
- Mappings:
Namespace Name Mixin selector official d
Lesn$b;d:Lvf;
intermediary field_44897
Lnet/minecraft/class_4379$class_5344;field_44897:Lnet/minecraft/class_2561;
named NAME_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;NAME_TEXT:Lnet/minecraft/text/Text;
-
GAME_SERVER_VERSION_TEXT
- Mappings:
Namespace Name Mixin selector official e
Lesn$b;e:Lvf;
intermediary field_44898
Lnet/minecraft/class_4379$class_5344;field_44898:Lnet/minecraft/class_2561;
named GAME_SERVER_VERSION_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_SERVER_VERSION_TEXT:Lnet/minecraft/text/Text;
-
UPLOADED_TEXT
- Mappings:
Namespace Name Mixin selector official f
Lesn$b;f:Lvf;
intermediary field_44899
Lnet/minecraft/class_4379$class_5344;field_44899:Lnet/minecraft/class_2561;
named UPLOADED_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;UPLOADED_TEXT:Lnet/minecraft/text/Text;
-
ENABLED_PACK_TEXT
- Mappings:
Namespace Name Mixin selector official g
Lesn$b;g:Lvf;
intermediary field_44900
Lnet/minecraft/class_4379$class_5344;field_44900:Lnet/minecraft/class_2561;
named ENABLED_PACK_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;ENABLED_PACK_TEXT:Lnet/minecraft/text/Text;
-
DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector official h
Lesn$b;h:Lvf;
intermediary field_44901
Lnet/minecraft/class_4379$class_5344;field_44901:Lnet/minecraft/class_2561;
named DESCRIPTION_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector official i
Lesn$b;i:Lvf;
intermediary field_44902
Lnet/minecraft/class_4379$class_5344;field_44902:Lnet/minecraft/class_2561;
named GAME_MODE_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
-
SEED_TEXT
- Mappings:
Namespace Name Mixin selector official j
Lesn$b;j:Lvf;
intermediary field_44903
Lnet/minecraft/class_4379$class_5344;field_44903:Lnet/minecraft/class_2561;
named SEED_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;SEED_TEXT:Lnet/minecraft/text/Text;
-
WORLD_TYPE_TEXT
- Mappings:
Namespace Name Mixin selector official k
Lesn$b;k:Lvf;
intermediary field_44904
Lnet/minecraft/class_4379$class_5344;field_44904:Lnet/minecraft/class_2561;
named WORLD_TYPE_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;WORLD_TYPE_TEXT:Lnet/minecraft/text/Text;
-
UNDEFINED_TEXT
- Mappings:
Namespace Name Mixin selector official l
Lesn$b;l:Lvf;
intermediary field_44905
Lnet/minecraft/class_4379$class_5344;field_44905:Lnet/minecraft/class_2561;
named UNDEFINED_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;UNDEFINED_TEXT:Lnet/minecraft/text/Text;
-
key
- Mappings:
Namespace Name Mixin selector official m
Lesn$b;m:Ljava/lang/String;
intermediary field_25258
Lnet/minecraft/class_4379$class_5344;field_25258:Ljava/lang/String;
named key
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;key:Ljava/lang/String;
-
value
- Mappings:
Namespace Name Mixin selector official n
Lesn$b;n:Ljava/lang/String;
intermediary field_25259
Lnet/minecraft/class_4379$class_5344;field_25259:Ljava/lang/String;
named value
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;value:Ljava/lang/String;
-
-
Constructor Details
-
BackupInfoListEntry
- Mappings:
Namespace Name Mixin selector official <init>
Lesn$b;<init>(Lesn;Ljava/lang/String;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_4379$class_5344;<init>(Lnet/minecraft/class_4379;Ljava/lang/String;Ljava/lang/String;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen;Ljava/lang/String;Ljava/lang/String;)V
-
-
Method Details
-
render
public void render(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.- Specified by:
render
in classEntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>
- Parameters:
index
- the index of the entryy
- the Y coordinate of the entryx
- the X coordinate of the entryentryWidth
- the width of the entryentryHeight
- the height of the entrymouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousehovered
- whether the mouse is hovering over the entry- Mappings:
Namespace Name Mixin selector official a
Lexb$a;a(Lewu;IIIIIIIZF)V
intermediary method_25343
Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V
named render
Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
-
getTextFromKey
- Mappings:
Namespace Name Mixin selector official a
Lesn$b;a(Ljava/lang/String;)Lvf;
intermediary method_51886
Lnet/minecraft/class_4379$class_5344;method_51886(Ljava/lang/String;)Lnet/minecraft/class_2561;
named getTextFromKey
Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;getTextFromKey(Ljava/lang/String;)Lnet/minecraft/text/Text;
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFW
class.- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lezb;a(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
getNarration
- Specified by:
getNarration
in classAlwaysSelectedEntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>
- Mappings:
Namespace Name Mixin selector official a
Leyc$a;a()Lvf;
intermediary method_37006
Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;
named getNarration
Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-