Class ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry>
net.minecraft.client.gui.screen.pack.ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry
- All Implemented Interfaces:
Element,Narratable
- Enclosing class:
ExperimentalWarningScreen.DetailsScreen
@Environment(CLIENT)
private class ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry
extends AlwaysSelectedEntryListWidget.Entry<ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry>
- Mappings:
Namespace Name official eug$a$bintermediary net/minecraft/class_7745$class_7746$class_7748named net/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen$PackListWidgetEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Textprivate final Textprivate final MultilineTextFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionPackListWidgetEntry(Text displayName, Text details, MultilineText multilineDetails) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(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.Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrationsMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
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, keyPressed, keyReleased, method_48202, method_48205, method_48218, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
displayName
- Mappings:
Namespace Name Mixin selector official bLeug$a$b;b:Lsu;intermediary field_40454Lnet/minecraft/class_7745$class_7746$class_7748;field_40454:Lnet/minecraft/class_2561;named displayNameLnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen$PackListWidgetEntry;displayName:Lnet/minecraft/text/Text;
-
details
- Mappings:
Namespace Name Mixin selector official cLeug$a$b;c:Lsu;intermediary field_40455Lnet/minecraft/class_7745$class_7746$class_7748;field_40455:Lnet/minecraft/class_2561;named detailsLnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen$PackListWidgetEntry;details:Lnet/minecraft/text/Text;
-
multilineDetails
- Mappings:
Namespace Name Mixin selector official dLeug$a$b;d:Lemb;intermediary field_40456Lnet/minecraft/class_7745$class_7746$class_7748;field_40456:Lnet/minecraft/class_5489;named multilineDetailsLnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen$PackListWidgetEntry;multilineDetails:Lnet/minecraft/client/font/MultilineText;
-
-
Constructor Details
-
PackListWidgetEntry
PackListWidgetEntry(Text displayName, Text details, MultilineText multilineDetails) - Mappings:
Namespace Name Mixin selector official <init>Leug$a$b;<init>(Leug$a;Lsu;Lsu;Lemb;)Vintermediary <init>Lnet/minecraft/class_7745$class_7746$class_7748;<init>(Lnet/minecraft/class_7745$class_7746;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_5489;)Vnamed <init>Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen$PackListWidgetEntry;<init>(Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/client/font/MultilineText;)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<ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry>- 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 aLelh$a;a(Leer;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
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry>- Mappings:
Namespace Name Mixin selector official bLeme$a;b()Lsu;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;
-