Class RealmsBackupInfoScreen.BackupInfoListEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>
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 named net/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntryintermediary net/minecraft/class_4379$class_5344official fdt$b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate static final Textprivate static final Textprivate static final Textprivate static final Textprivate final Stringprivate static final Textprivate static final Textprivate static final Textprivate static final Textprivate static final Textprivate final Stringprivate static final TextFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate TextgetTextFromKey(String key) booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.voidrender(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
appendNarrationsMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, 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
-
TEMPLATE_NAME_TEXT
- Mappings:
Namespace Name Mixin selector named TEMPLATE_NAME_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;TEMPLATE_NAME_TEXT:Lnet/minecraft/text/Text;intermediary field_44895Lnet/minecraft/class_4379$class_5344;field_44895:Lnet/minecraft/class_2561;official bLfdt$b;b:Lwz;
-
GAME_DIFFICULTY_TEXT
- Mappings:
Namespace Name Mixin selector named GAME_DIFFICULTY_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_DIFFICULTY_TEXT:Lnet/minecraft/text/Text;intermediary field_44896Lnet/minecraft/class_4379$class_5344;field_44896:Lnet/minecraft/class_2561;official cLfdt$b;c:Lwz;
-
NAME_TEXT
- Mappings:
Namespace Name Mixin selector named NAME_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;NAME_TEXT:Lnet/minecraft/text/Text;intermediary field_44897Lnet/minecraft/class_4379$class_5344;field_44897:Lnet/minecraft/class_2561;official dLfdt$b;d:Lwz;
-
GAME_SERVER_VERSION_TEXT
- Mappings:
Namespace Name Mixin selector named GAME_SERVER_VERSION_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_SERVER_VERSION_TEXT:Lnet/minecraft/text/Text;intermediary field_44898Lnet/minecraft/class_4379$class_5344;field_44898:Lnet/minecraft/class_2561;official eLfdt$b;e:Lwz;
-
UPLOADED_TEXT
- Mappings:
Namespace Name Mixin selector named UPLOADED_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;UPLOADED_TEXT:Lnet/minecraft/text/Text;intermediary field_44899Lnet/minecraft/class_4379$class_5344;field_44899:Lnet/minecraft/class_2561;official fLfdt$b;f:Lwz;
-
ENABLED_PACK_TEXT
- Mappings:
Namespace Name Mixin selector named ENABLED_PACK_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;ENABLED_PACK_TEXT:Lnet/minecraft/text/Text;intermediary field_44900Lnet/minecraft/class_4379$class_5344;field_44900:Lnet/minecraft/class_2561;official gLfdt$b;g:Lwz;
-
DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector named DESCRIPTION_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;DESCRIPTION_TEXT:Lnet/minecraft/text/Text;intermediary field_44901Lnet/minecraft/class_4379$class_5344;field_44901:Lnet/minecraft/class_2561;official hLfdt$b;h:Lwz;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector named GAME_MODE_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_MODE_TEXT:Lnet/minecraft/text/Text;intermediary field_44902Lnet/minecraft/class_4379$class_5344;field_44902:Lnet/minecraft/class_2561;official iLfdt$b;i:Lwz;
-
SEED_TEXT
- Mappings:
Namespace Name Mixin selector named SEED_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;SEED_TEXT:Lnet/minecraft/text/Text;intermediary field_44903Lnet/minecraft/class_4379$class_5344;field_44903:Lnet/minecraft/class_2561;official jLfdt$b;j:Lwz;
-
WORLD_TYPE_TEXT
- Mappings:
Namespace Name Mixin selector named WORLD_TYPE_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;WORLD_TYPE_TEXT:Lnet/minecraft/text/Text;intermediary field_44904Lnet/minecraft/class_4379$class_5344;field_44904:Lnet/minecraft/class_2561;official kLfdt$b;k:Lwz;
-
UNDEFINED_TEXT
- Mappings:
Namespace Name Mixin selector named UNDEFINED_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;UNDEFINED_TEXT:Lnet/minecraft/text/Text;intermediary field_44905Lnet/minecraft/class_4379$class_5344;field_44905:Lnet/minecraft/class_2561;official lLfdt$b;l:Lwz;
-
key
- Mappings:
Namespace Name Mixin selector named keyLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;key:Ljava/lang/String;intermediary field_25258Lnet/minecraft/class_4379$class_5344;field_25258:Ljava/lang/String;official mLfdt$b;m:Ljava/lang/String;
-
value
- Mappings:
Namespace Name Mixin selector named valueLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;value:Ljava/lang/String;intermediary field_25259Lnet/minecraft/class_4379$class_5344;field_25259:Ljava/lang/String;official nLfdt$b;n:Ljava/lang/String;
-
-
Constructor Details
-
BackupInfoListEntry
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen;Ljava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_4379$class_5344;<init>(Lnet/minecraft/class_4379;Ljava/lang/String;Ljava/lang/String;)Vofficial <init>Lfdt$b;<init>(Lfdt;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:
renderin 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 named renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)Vofficial aLfih$a;a(Lfhz;IIIIIIIZF)V
-
getTextFromKey
- Mappings:
Namespace Name Mixin selector named getTextFromKeyLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;getTextFromKey(Ljava/lang/String;)Lnet/minecraft/text/Text;intermediary method_51886Lnet/minecraft/class_4379$class_5344;method_51886(Ljava/lang/String;)Lnet/minecraft/class_2561;official aLfdt$b;a(Ljava/lang/String;)Lwz;
-
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 inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Overrides:
mouseClickedin classAlwaysSelectedEntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLfki;a(DDI)Z
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>- Mappings:
Namespace Name Mixin selector named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;official aLfji$a;a()Lwz;
-