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 ekj$a
intermediary net/minecraft/class_4419$class_4421
named net/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry
-
Field Summary
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawIcons
(MatrixStack matrices, int x, int y, int mouseX, int mouseY, String link, String trailer, String recommendedPlayers) private void
drawImage
(MatrixStack matrices, int x, int y, int mouseX, int mouseY, WorldTemplate template) 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.private void
renderWorldTemplateItem
(MatrixStack matrices, WorldTemplate template, int x, int y, int mouseX, int mouseY) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
Field Details
-
mTemplate
- Mappings:
Namespace Name Mixin selector official b
Lekj$a;b:Lejb;
intermediary field_20094
Lnet/minecraft/class_4419$class_4421;field_20094:Lnet/minecraft/class_4890;
named mTemplate
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;mTemplate:Lnet/minecraft/client/realms/dto/WorldTemplate;
-
-
Constructor Details
-
WorldTemplateObjectSelectionListEntry
- Mappings:
Namespace Name Mixin selector official <init>
Lekj$a;<init>(Lekj;Lejb;)V
intermediary <init>
Lnet/minecraft/class_4419$class_4421;<init>(Lnet/minecraft/class_4419;Lnet/minecraft/class_4890;)V
named <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:
render
in 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 a
Lenw$a;a(Lehe;IIIIIIIZF)V
intermediary method_25343
Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)V
named render
Lnet/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 a
Lekj$a;a(Lehe;Lejb;IIII)V
intermediary method_21453
Lnet/minecraft/class_4419$class_4421;method_21453(Lnet/minecraft/class_4587;Lnet/minecraft/class_4890;IIII)V
named renderWorldTemplateItem
Lnet/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 a
Lekj$a;a(Lehe;IIIILejb;)V
intermediary method_21451
Lnet/minecraft/class_4419$class_4421;method_21451(Lnet/minecraft/class_4587;IIIILnet/minecraft/class_4890;)V
named drawImage
Lnet/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 a
Lekj$a;a(Lehe;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
intermediary method_21452
Lnet/minecraft/class_4419$class_4421;method_21452(Lnet/minecraft/class_4587;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
named drawIcons
Lnet/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:
getNarration
in classAlwaysSelectedEntryListWidget.Entry<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>
- Mappings:
Namespace Name Mixin selector official a
Leov$a;a()Ltj;
intermediary method_37006
Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;
named getNarration
Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-