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 eqn$bintermediary net/minecraft/class_4379$class_5344named net/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry
-
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 official bLeqn$b;b:Luv;intermediary field_44895Lnet/minecraft/class_4379$class_5344;field_44895:Lnet/minecraft/class_2561;named TEMPLATE_NAME_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;TEMPLATE_NAME_TEXT:Lnet/minecraft/text/Text;
-
GAME_DIFFICULTY_TEXT
- Mappings:
Namespace Name Mixin selector official cLeqn$b;c:Luv;intermediary field_44896Lnet/minecraft/class_4379$class_5344;field_44896:Lnet/minecraft/class_2561;named GAME_DIFFICULTY_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_DIFFICULTY_TEXT:Lnet/minecraft/text/Text;
-
NAME_TEXT
- Mappings:
Namespace Name Mixin selector official dLeqn$b;d:Luv;intermediary field_44897Lnet/minecraft/class_4379$class_5344;field_44897:Lnet/minecraft/class_2561;named NAME_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;NAME_TEXT:Lnet/minecraft/text/Text;
-
GAME_SERVER_VERSION_TEXT
- Mappings:
Namespace Name Mixin selector official eLeqn$b;e:Luv;intermediary field_44898Lnet/minecraft/class_4379$class_5344;field_44898:Lnet/minecraft/class_2561;named GAME_SERVER_VERSION_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_SERVER_VERSION_TEXT:Lnet/minecraft/text/Text;
-
UPLOADED_TEXT
- Mappings:
Namespace Name Mixin selector official fLeqn$b;f:Luv;intermediary field_44899Lnet/minecraft/class_4379$class_5344;field_44899:Lnet/minecraft/class_2561;named UPLOADED_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;UPLOADED_TEXT:Lnet/minecraft/text/Text;
-
ENABLED_PACK_TEXT
- Mappings:
Namespace Name Mixin selector official gLeqn$b;g:Luv;intermediary field_44900Lnet/minecraft/class_4379$class_5344;field_44900:Lnet/minecraft/class_2561;named ENABLED_PACK_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;ENABLED_PACK_TEXT:Lnet/minecraft/text/Text;
-
DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector official hLeqn$b;h:Luv;intermediary field_44901Lnet/minecraft/class_4379$class_5344;field_44901:Lnet/minecraft/class_2561;named DESCRIPTION_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector official iLeqn$b;i:Luv;intermediary field_44902Lnet/minecraft/class_4379$class_5344;field_44902:Lnet/minecraft/class_2561;named GAME_MODE_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
-
SEED_TEXT
- Mappings:
Namespace Name Mixin selector official jLeqn$b;j:Luv;intermediary field_44903Lnet/minecraft/class_4379$class_5344;field_44903:Lnet/minecraft/class_2561;named SEED_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;SEED_TEXT:Lnet/minecraft/text/Text;
-
WORLD_TYPE_TEXT
- Mappings:
Namespace Name Mixin selector official kLeqn$b;k:Luv;intermediary field_44904Lnet/minecraft/class_4379$class_5344;field_44904:Lnet/minecraft/class_2561;named WORLD_TYPE_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;WORLD_TYPE_TEXT:Lnet/minecraft/text/Text;
-
UNDEFINED_TEXT
- Mappings:
Namespace Name Mixin selector official lLeqn$b;l:Luv;intermediary field_44905Lnet/minecraft/class_4379$class_5344;field_44905:Lnet/minecraft/class_2561;named UNDEFINED_TEXTLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;UNDEFINED_TEXT:Lnet/minecraft/text/Text;
-
key
- Mappings:
Namespace Name Mixin selector official mLeqn$b;m:Ljava/lang/String;intermediary field_25258Lnet/minecraft/class_4379$class_5344;field_25258:Ljava/lang/String;named keyLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;key:Ljava/lang/String;
-
value
- Mappings:
Namespace Name Mixin selector official nLeqn$b;n:Ljava/lang/String;intermediary field_25259Lnet/minecraft/class_4379$class_5344;field_25259:Ljava/lang/String;named valueLnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;value:Ljava/lang/String;
-
-
Constructor Details
-
BackupInfoListEntry
- Mappings:
Namespace Name Mixin selector official <init>Leqn$b;<init>(Leqn;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;)Vnamed <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:
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 official aLeuz$a;a(Leut;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
-
getTextFromKey
- Mappings:
Namespace Name Mixin selector official aLeqn$b;a(Ljava/lang/String;)Luv;intermediary method_51886Lnet/minecraft/class_4379$class_5344;method_51886(Ljava/lang/String;)Lnet/minecraft/class_2561;named getTextFromKeyLnet/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 inGLFWclass.- 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 official aLewz;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>- Mappings:
Namespace Name Mixin selector official aLewa$a;a()Luv;intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-