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 official ekw$aintermediary net/minecraft/class_4419$class_4421named 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(DrawableHelper drawableHelper, int x, int y, int mouseX, int mouseY, String link, String trailer, String recommendedPlayers) private voiddrawImage(DrawableHelper drawableHelper, int x, int y, int mouseX, int mouseY, WorldTemplate template) voidrender(DrawableHelper drawableHelper, 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(DrawableHelper drawableHelper, 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 official bLekw$a;b:Lejo;intermediary field_20094Lnet/minecraft/class_4419$class_4421;field_20094:Lnet/minecraft/class_4890;named mTemplateLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;mTemplate:Lnet/minecraft/client/realms/dto/WorldTemplate;
-
-
Constructor Details
-
WorldTemplateObjectSelectionListEntry
- Mappings:
Namespace Name Mixin selector official <init>Lekw$a;<init>(Lekw;Lejo;)Vintermediary <init>Lnet/minecraft/class_4419$class_4421;<init>(Lnet/minecraft/class_4419;Lnet/minecraft/class_4890;)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(DrawableHelper drawableHelper, 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 official aLeoj$a;a(Leoe;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/DrawableHelper;IIIIIIIZF)V
-
renderWorldTemplateItem
private void renderWorldTemplateItem(DrawableHelper drawableHelper, WorldTemplate template, int x, int y, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector official aLekw$a;a(Leoe;Lejo;IIII)Vintermediary method_21453Lnet/minecraft/class_4419$class_4421;method_21453(Lnet/minecraft/class_332;Lnet/minecraft/class_4890;IIII)Vnamed renderWorldTemplateItemLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;renderWorldTemplateItem(Lnet/minecraft/client/gui/DrawableHelper;Lnet/minecraft/client/realms/dto/WorldTemplate;IIII)V
-
drawImage
private void drawImage(DrawableHelper drawableHelper, int x, int y, int mouseX, int mouseY, WorldTemplate template) - Mappings:
Namespace Name Mixin selector official aLekw$a;a(Leoe;IIIILejo;)Vintermediary method_21451Lnet/minecraft/class_4419$class_4421;method_21451(Lnet/minecraft/class_332;IIIILnet/minecraft/class_4890;)Vnamed drawImageLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;drawImage(Lnet/minecraft/client/gui/DrawableHelper;IIIILnet/minecraft/client/realms/dto/WorldTemplate;)V
-
drawIcons
private void drawIcons(DrawableHelper drawableHelper, int x, int y, int mouseX, int mouseY, String link, String trailer, String recommendedPlayers) - Mappings:
Namespace Name Mixin selector official aLekw$a;a(Leoe;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Vintermediary method_21452Lnet/minecraft/class_4419$class_4421;method_21452(Lnet/minecraft/class_332;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Vnamed drawIconsLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;drawIcons(Lnet/minecraft/client/gui/DrawableHelper;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>- Mappings:
Namespace Name Mixin selector official aLepi$a;a()Lsw;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;
-