Class ResourcePackWidget
java.lang.Object
net.minecraft.client.gui.screen.resourcepack.ResourcePackWidget
- All Implemented Interfaces:
EntryListWidget.Entry
- Direct Known Subclasses:
DefaultResourcePackEntryWidget,ResourcePackEntryWidget
@Environment(CLIENT) public abstract class ResourcePackWidget extends Object implements EntryListWidget.Entry
- Mappings:
Namespace Name official azpintermediary net/minecraft/class_816named net/minecraft/client/gui/screen/resourcepack/ResourcePackWidget
-
Field Summary
Fields Modifier and Type Field Description protected MinecraftClientclientprivate static TextINCOMPATIBLE_NEW_TEXprivate static TextINCOMPATIBLE_OLD_TEXTprivate static TextINCOMPATIBLE_TEXTprivate static IdentifierRESOURCE_PACKS_TEXprotected ResourcePackScreenscreen -
Constructor Summary
Constructors Constructor Description ResourcePackWidget(ResourcePackScreen screen) -
Method Summary
Modifier and Type Method Description protected abstract voidbindIcon()protected abstract StringgetDescription()protected abstract intgetFormat()protected abstract StringgetName()protected booleanmethod_2981()protected booleanmethod_2982()protected booleanmethod_2983()protected booleanmethod_2984()protected booleanmethod_2985()booleanmouseClicked(int index, int mouseX, int mouseY, int button, int x, int y)voidmouseReleased(int index, int mouseX, int mouseY, int button, int x, int y)voidrender(int index, int x, int y, int rowWidth, int rowHeight, int mouseX, int mouseY, boolean hovered)voidupdatePosition(int index, int x, int y)
-
Field Details
-
RESOURCE_PACKS_TEX
- Mappings:
Namespace Name Mixin selector official cLazp;c:Ljy;intermediary field_3572Lnet/minecraft/class_816;field_3572:Lnet/minecraft/class_1605;named RESOURCE_PACKS_TEXLnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;RESOURCE_PACKS_TEX:Lnet/minecraft/util/Identifier;
-
INCOMPATIBLE_TEXT
- Mappings:
Namespace Name Mixin selector official dLazp;d:Leu;intermediary field_3573Lnet/minecraft/class_816;field_3573:Lnet/minecraft/class_1444;named INCOMPATIBLE_TEXTLnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;INCOMPATIBLE_TEXT:Lnet/minecraft/text/Text;
-
INCOMPATIBLE_OLD_TEXT
- Mappings:
Namespace Name Mixin selector official eLazp;e:Leu;intermediary field_3574Lnet/minecraft/class_816;field_3574:Lnet/minecraft/class_1444;named INCOMPATIBLE_OLD_TEXTLnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;INCOMPATIBLE_OLD_TEXT:Lnet/minecraft/text/Text;
-
INCOMPATIBLE_NEW_TEX
- Mappings:
Namespace Name Mixin selector official fLazp;f:Leu;intermediary field_3575Lnet/minecraft/class_816;field_3575:Lnet/minecraft/class_1444;named INCOMPATIBLE_NEW_TEXLnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;INCOMPATIBLE_NEW_TEX:Lnet/minecraft/text/Text;
-
client
- Mappings:
Namespace Name Mixin selector official aLazp;a:Lave;intermediary field_3570Lnet/minecraft/class_816;field_3570:Lnet/minecraft/class_669;named clientLnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;client:Lnet/minecraft/client/MinecraftClient;
-
screen
- Mappings:
Namespace Name Mixin selector official bLazp;b:Lazo;intermediary field_3571Lnet/minecraft/class_816;field_3571:Lnet/minecraft/class_815;named screenLnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;screen:Lnet/minecraft/client/gui/screen/ResourcePackScreen;
-
-
Constructor Details
-
ResourcePackWidget
- Mappings:
Namespace Name Mixin selector official <init>Lazp;<init>(Lazo;)Vintermediary <init>Lnet/minecraft/class_816;<init>(Lnet/minecraft/class_815;)Vnamed <init>Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;<init>(Lnet/minecraft/client/gui/screen/ResourcePackScreen;)V
-
-
Method Details
-
render
public void render(int index, int x, int y, int rowWidth, int rowHeight, int mouseX, int mouseY, boolean hovered)- Specified by:
renderin interfaceEntryListWidget.Entry- Mappings:
Namespace Name Mixin selector official aLawd$a;a(IIIIIIIZ)Vintermediary method_2569Lnet/minecraft/class_698$class_699;method_2569(IIIIIIIZ)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(IIIIIIIZ)V
-
getFormat
protected abstract int getFormat()- Mappings:
Namespace Name Mixin selector official aLazp;a()Iintermediary method_2977Lnet/minecraft/class_816;method_2977()Inamed getFormatLnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;getFormat()I
-
getDescription
- Mappings:
Namespace Name Mixin selector official bLazp;b()Ljava/lang/String;intermediary method_2978Lnet/minecraft/class_816;method_2978()Ljava/lang/String;named getDescriptionLnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;getDescription()Ljava/lang/String;
-
getName
- Mappings:
Namespace Name Mixin selector official cLazp;c()Ljava/lang/String;intermediary method_2979Lnet/minecraft/class_816;method_2979()Ljava/lang/String;named getNameLnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;getName()Ljava/lang/String;
-
bindIcon
protected abstract void bindIcon()- Mappings:
Namespace Name Mixin selector official dLazp;d()Vintermediary method_2980Lnet/minecraft/class_816;method_2980()Vnamed bindIconLnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;bindIcon()V
-
method_2981
protected boolean method_2981()- Mappings:
Namespace Name Mixin selector official eLazp;e()Zintermediary method_2981Lnet/minecraft/class_816;method_2981()Znamed method_2981Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;method_2981()Z
-
method_2982
protected boolean method_2982()- Mappings:
Namespace Name Mixin selector official fLazp;f()Zintermediary method_2982Lnet/minecraft/class_816;method_2982()Znamed method_2982Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;method_2982()Z
-
method_2983
protected boolean method_2983()- Mappings:
Namespace Name Mixin selector official gLazp;g()Zintermediary method_2983Lnet/minecraft/class_816;method_2983()Znamed method_2983Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;method_2983()Z
-
method_2984
protected boolean method_2984()- Mappings:
Namespace Name Mixin selector official hLazp;h()Zintermediary method_2984Lnet/minecraft/class_816;method_2984()Znamed method_2984Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;method_2984()Z
-
method_2985
protected boolean method_2985()- Mappings:
Namespace Name Mixin selector official iLazp;i()Zintermediary method_2985Lnet/minecraft/class_816;method_2985()Znamed method_2985Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;method_2985()Z
-
mouseClicked
public boolean mouseClicked(int index, int mouseX, int mouseY, int button, int x, int y)- Specified by:
mouseClickedin interfaceEntryListWidget.Entry- Mappings:
Namespace Name Mixin selector official aLawd$a;a(IIIIII)Zintermediary method_2568Lnet/minecraft/class_698$class_699;method_2568(IIIIII)Znamed mouseClickedLnet/minecraft/client/gui/widget/EntryListWidget$Entry;mouseClicked(IIIIII)Z
-
updatePosition
public void updatePosition(int index, int x, int y)- Specified by:
updatePositionin interfaceEntryListWidget.Entry- Mappings:
Namespace Name Mixin selector official aLawd$a;a(III)Vintermediary method_2567Lnet/minecraft/class_698$class_699;method_2567(III)Vnamed updatePositionLnet/minecraft/client/gui/widget/EntryListWidget$Entry;updatePosition(III)V
-
mouseReleased
public void mouseReleased(int index, int mouseX, int mouseY, int button, int x, int y)- Specified by:
mouseReleasedin interfaceEntryListWidget.Entry- Mappings:
Namespace Name Mixin selector official bLawd$a;b(IIIIII)Vintermediary method_2570Lnet/minecraft/class_698$class_699;method_2570(IIIIII)Vnamed mouseReleasedLnet/minecraft/client/gui/widget/EntryListWidget$Entry;mouseReleased(IIIIII)V
-