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
- Enclosing class:
- RealmsSelectWorldTemplateScreen
@Environment(CLIENT)
private class RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry
extends AlwaysSelectedEntryListWidget.Entry<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>
- Mappings:
Namespace Name official dvk$aintermediary net/minecraft/class_4419$class_4421named net/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddrawIcons(MatrixStack matrices, int x, int y, int mouseX, int mouseY, String link, String trailer, String recommendedPlayers) private voiddrawImage(MatrixStack matrices, int x, int y, int mouseX, int mouseY, WorldTemplate template) voidrender(MatrixStack matrices, 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(MatrixStack matrices, WorldTemplate template, int x, int y, int mouseX, int mouseY) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations, changeFocusMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOverMethods 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, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
mTemplate
- Mappings:
Namespace Name Mixin selector official bLdvk$a;b:Ldue;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>Ldvk$a;<init>(Ldvk;Ldue;)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(MatrixStack matrices, 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:
matrices- the matrix stack used for renderingindex- 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 aLdyw$a;a(Ldsj;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
-
renderWorldTemplateItem
private void renderWorldTemplateItem(MatrixStack matrices, WorldTemplate template, int x, int y, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector official aLdvk$a;a(Ldsj;Ldue;IIII)Vintermediary method_21453Lnet/minecraft/class_4419$class_4421;method_21453(Lnet/minecraft/class_4587;Lnet/minecraft/class_4890;IIII)Vnamed renderWorldTemplateItemLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;renderWorldTemplateItem(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/realms/dto/WorldTemplate;IIII)V
-
drawImage
private void drawImage(MatrixStack matrices, int x, int y, int mouseX, int mouseY, WorldTemplate template) - Mappings:
Namespace Name Mixin selector official aLdvk$a;a(Ldsj;IIIILdue;)Vintermediary method_21451Lnet/minecraft/class_4419$class_4421;method_21451(Lnet/minecraft/class_4587;IIIILnet/minecraft/class_4890;)Vnamed drawImageLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;drawImage(Lnet/minecraft/client/util/math/MatrixStack;IIIILnet/minecraft/client/realms/dto/WorldTemplate;)V
-
drawIcons
private void drawIcons(MatrixStack matrices, int x, int y, int mouseX, int mouseY, String link, String trailer, String recommendedPlayers) - Mappings:
Namespace Name Mixin selector official aLdvk$a;a(Ldsj;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Vintermediary method_21452Lnet/minecraft/class_4419$class_4421;method_21452(Lnet/minecraft/class_4587;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Vnamed drawIconsLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;drawIcons(Lnet/minecraft/client/util/math/MatrixStack;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>- Mappings:
Namespace Name Mixin selector official bLdzn$a;b()Lpz;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;
-