Class RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>
net.minecraft.client.realms.gui.screen.RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry
- All Implemented Interfaces:
Element,Narratable,Navigable
- Enclosing class:
RealmsSelectWorldTemplateScreen
@Environment(CLIENT)
private class RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry
extends AlwaysSelectedEntryListWidget.Entry<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>
- Mappings:
Namespace Name intermediary net/minecraft/class_4419$class_4421official elh$anamed net/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry
-
Field Summary
FieldsFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddrawIcons(DrawContext context, int x, int y, int mouseX, int mouseY, String link, String trailer, String recommendedPlayers) private voiddrawImage(DrawContext context, int x, int y, int mouseX, int mouseY, WorldTemplate template) 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.private voidrenderWorldTemplateItem(DrawContext context, WorldTemplate template, int x, int y, int mouseX, int mouseY) 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, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
Field Details
-
mTemplate
- Mappings:
Namespace Name Mixin selector intermediary field_20094Lnet/minecraft/class_4419$class_4421;field_20094:Lnet/minecraft/class_4890;official bLelh$a;b:Lejz;named mTemplateLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;mTemplate:Lnet/minecraft/client/realms/dto/WorldTemplate;
-
-
Constructor Details
-
WorldTemplateObjectSelectionListEntry
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_4419$class_4421;<init>(Lnet/minecraft/class_4419;Lnet/minecraft/class_4890;)Vofficial <init>Lelh$a;<init>(Lelh;Lejz;)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;Lnet/minecraft/client/realms/dto/WorldTemplate;)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<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>- 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 intermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)Vofficial aLeou$a;a(Leop;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
-
renderWorldTemplateItem
private void renderWorldTemplateItem(DrawContext context, WorldTemplate template, int x, int y, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector intermediary method_21453Lnet/minecraft/class_4419$class_4421;method_21453(Lnet/minecraft/class_332;Lnet/minecraft/class_4890;IIII)Vofficial aLelh$a;a(Leop;Lejz;IIII)Vnamed renderWorldTemplateItemLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;renderWorldTemplateItem(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/realms/dto/WorldTemplate;IIII)V
-
drawImage
private void drawImage(DrawContext context, int x, int y, int mouseX, int mouseY, WorldTemplate template) - Mappings:
Namespace Name Mixin selector intermediary method_21451Lnet/minecraft/class_4419$class_4421;method_21451(Lnet/minecraft/class_332;IIIILnet/minecraft/class_4890;)Vofficial aLelh$a;a(Leop;IIIILejz;)Vnamed drawImageLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;drawImage(Lnet/minecraft/client/gui/DrawContext;IIIILnet/minecraft/client/realms/dto/WorldTemplate;)V
-
drawIcons
private void drawIcons(DrawContext context, int x, int y, int mouseX, int mouseY, String link, String trailer, String recommendedPlayers) - Mappings:
Namespace Name Mixin selector intermediary method_21452Lnet/minecraft/class_4419$class_4421;method_21452(Lnet/minecraft/class_332;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Vofficial aLelh$a;a(Leop;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Vnamed drawIconsLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;drawIcons(Lnet/minecraft/client/gui/DrawContext;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>- Mappings:
Namespace Name Mixin selector intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;official aLept$a;a()Lsw;named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-