Class PackListWidget.ResourcePackEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<PackListWidget.Entry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<PackListWidget.Entry>
net.minecraft.client.gui.screen.pack.PackListWidget.Entry
net.minecraft.client.gui.screen.pack.PackListWidget.ResourcePackEntry
- All Implemented Interfaces:
class_12293,Element,Narratable,Navigable,Widget
- Enclosing class:
PackListWidget
@Environment(CLIENT)
public class PackListWidget.ResourcePackEntry
extends PackListWidget.Entry
implements class_12293
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntryintermediary net/minecraft/class_521$class_4271official guv$c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MinecraftClientprivate static final intstatic final intprivate final TextWidgetprivate final MultilineTextWidgetprivate final ResourcePackOrganizer.Packprivate final PackListWidgetFields inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
PADDING -
Constructor Summary
ConstructorsConstructorDescriptionResourcePackEntry(MinecraftClient client, PackListWidget widget, ResourcePackOrganizer.Pack pack) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidenable()getName()booleanprivate booleanbooleankeyPressed(KeyInput input) Callback for when a key down event has been captured.booleanmouseClicked(Click click, boolean doubled) Callback for when a mouse button down event has been captured.private voidprivate voidvoidrender(DrawContext context, int mouseX, int mouseY, boolean hovered, float deltaTicks) Renders an entry in a list.voidtoggle()Methods inherited from class net.minecraft.client.gui.screen.pack.PackListWidget.Entry
getWidthMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrationsMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
forEachChild, getContentBottomEnd, getContentHeight, getContentMiddleX, getContentMiddleY, getContentRightEnd, getContentWidth, getContentX, getContentY, getHeight, getNavigationFocus, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_12293
method_76262, method_76263, method_76264, method_76265, method_76266, method_76267, method_76268Methods inherited from interface net.minecraft.client.gui.Element
charTyped, getBorder, getFocusedPath, getNavigationPath, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
field_32403
private static final int field_32403- See Also:
- Mappings:
Namespace Name Mixin selector named field_32403Lnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;field_32403:Iintermediary field_32403Lnet/minecraft/class_521$class_4271;field_32403:Iofficial eLguv$c;e:I
-
field_64204
public static final int field_64204- See Also:
- Mappings:
Namespace Name Mixin selector named field_64204Lnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;field_64204:Iintermediary field_64204Lnet/minecraft/class_521$class_4271;field_64204:Iofficial bLguv$c;b:I
-
widget
- Mappings:
Namespace Name Mixin selector named widgetLnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;widget:Lnet/minecraft/client/gui/screen/pack/PackListWidget;intermediary field_19130Lnet/minecraft/class_521$class_4271;field_19130:Lnet/minecraft/class_521;official fLguv$c;f:Lguv;
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;client:Lnet/minecraft/client/MinecraftClient;intermediary field_19128Lnet/minecraft/class_521$class_4271;field_19128:Lnet/minecraft/class_310;official cLguv$c;c:Lgds;
-
pack
- Mappings:
Namespace Name Mixin selector named packLnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;pack:Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;intermediary field_19129Lnet/minecraft/class_521$class_4271;field_19129:Lnet/minecraft/class_5369$class_5371;official gLguv$c;g:Lgut$a;
-
field_64205
- Mappings:
Namespace Name Mixin selector named field_64205Lnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;field_64205:Lnet/minecraft/client/gui/widget/TextWidget;intermediary field_64205Lnet/minecraft/class_521$class_4271;field_64205:Lnet/minecraft/class_7842;official iLguv$c;i:Lgiw;
-
field_64206
- Mappings:
Namespace Name Mixin selector named field_64206Lnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;field_64206:Lnet/minecraft/client/gui/widget/MultilineTextWidget;intermediary field_64206Lnet/minecraft/class_521$class_4271;field_64206:Lnet/minecraft/class_7940;official jLguv$c;j:Lgig;
-
-
Constructor Details
-
ResourcePackEntry
public ResourcePackEntry(MinecraftClient client, PackListWidget widget, ResourcePackOrganizer.Pack pack) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;<init>(Lnet/minecraft/client/gui/screen/pack/PackListWidget;Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/pack/PackListWidget;Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;)Vintermediary <init>Lnet/minecraft/class_521$class_4271;<init>(Lnet/minecraft/class_521;Lnet/minecraft/class_310;Lnet/minecraft/class_521;Lnet/minecraft/class_5369$class_5371;)Vofficial <init>Lguv$c;<init>(Lguv;Lgds;Lguv;Lgut$a;)V
-
-
Method Details
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<PackListWidget.Entry>- Mappings:
Namespace Name Mixin selector named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;official aLgii$a;a()Lyi;
-
render
Renders an entry in a list.- Specified by:
renderin classEntryListWidget.Entry<PackListWidget.Entry>- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIZF)Vofficial aLghf$a;a(Lggy;IIZF)V
-
mouseClicked
Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Overrides:
mouseClickedin classAlwaysSelectedEntryListWidget.Entry<PackListWidget.Entry>- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(Lnet/minecraft/client/gui/Click;Z)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(Lnet/minecraft/class_11909;Z)Zofficial aLgku;a(Lgxi;Z)Z
-
keyPressed
Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Zofficial aLgku;a(Lgxh;)Z
-
isSelectable
private boolean isSelectable()- Mappings:
Namespace Name Mixin selector named isSelectableLnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;isSelectable()Zintermediary method_20152Lnet/minecraft/class_521$class_4271;method_20152()Zofficial eLguv$c;e()Z
-
toggle
public void toggle()- Mappings:
Namespace Name Mixin selector named toggleLnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;toggle()Vintermediary method_48280Lnet/minecraft/class_521$class_4271;method_48280()Vofficial cLguv$c;c()V
-
moveTowardStart
private void moveTowardStart()- Mappings:
Namespace Name Mixin selector named moveTowardStartLnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;moveTowardStart()Vintermediary method_48281Lnet/minecraft/class_521$class_4271;method_48281()Vofficial fLguv$c;f()V
-
moveTowardEnd
private void moveTowardEnd()- Mappings:
Namespace Name Mixin selector named moveTowardEndLnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;moveTowardEnd()Vintermediary method_48282Lnet/minecraft/class_521$class_4271;method_48282()Vofficial tLguv$c;t()V
-
enable
private void enable()- Mappings:
Namespace Name Mixin selector named enableLnet/minecraft/client/gui/screen/pack/PackListWidget$ResourcePackEntry;enable()Vintermediary method_48478Lnet/minecraft/class_521$class_4271;method_48478()Vofficial uLguv$c;u()V
-
getName
- Specified by:
getNamein classPackListWidget.Entry- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/client/gui/screen/pack/PackListWidget$Entry;getName()Ljava/lang/String;intermediary method_48279Lnet/minecraft/class_521$class_11778;method_48279()Ljava/lang/String;official bLguv$a;b()Ljava/lang/String;
-
isClickable
public boolean isClickable()- Specified by:
isClickablein interfaceElement- Mappings:
Namespace Name Mixin selector named isClickableLnet/minecraft/client/gui/Element;isClickable()Zintermediary method_72784Lnet/minecraft/class_364;method_72784()Zofficial HLgku;H()Z
-