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 azp
intermediary net/minecraft/class_816
named net/minecraft/client/gui/screen/resourcepack/ResourcePackWidget
  • Field Details

    • RESOURCE_PACKS_TEX

      private static final Identifier RESOURCE_PACKS_TEX
      Mappings:
      Namespace Name Mixin selector
      official c Lazp;c:Ljy;
      intermediary field_3572 Lnet/minecraft/class_816;field_3572:Lnet/minecraft/class_1605;
      named RESOURCE_PACKS_TEX Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;RESOURCE_PACKS_TEX:Lnet/minecraft/util/Identifier;
    • INCOMPATIBLE_TEXT

      private static final Text INCOMPATIBLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official d Lazp;d:Leu;
      intermediary field_3573 Lnet/minecraft/class_816;field_3573:Lnet/minecraft/class_1444;
      named INCOMPATIBLE_TEXT Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;INCOMPATIBLE_TEXT:Lnet/minecraft/text/Text;
    • INCOMPATIBLE_OLD_TEXT

      private static final Text INCOMPATIBLE_OLD_TEXT
      Mappings:
      Namespace Name Mixin selector
      official e Lazp;e:Leu;
      intermediary field_3574 Lnet/minecraft/class_816;field_3574:Lnet/minecraft/class_1444;
      named INCOMPATIBLE_OLD_TEXT Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;INCOMPATIBLE_OLD_TEXT:Lnet/minecraft/text/Text;
    • INCOMPATIBLE_NEW_TEX

      private static final Text INCOMPATIBLE_NEW_TEX
      Mappings:
      Namespace Name Mixin selector
      official f Lazp;f:Leu;
      intermediary field_3575 Lnet/minecraft/class_816;field_3575:Lnet/minecraft/class_1444;
      named INCOMPATIBLE_NEW_TEX Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;INCOMPATIBLE_NEW_TEX:Lnet/minecraft/text/Text;
    • client

      protected final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official a Lazp;a:Lave;
      intermediary field_3570 Lnet/minecraft/class_816;field_3570:Lnet/minecraft/class_669;
      named client Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;client:Lnet/minecraft/client/MinecraftClient;
    • screen

      protected final ResourcePackScreen screen
      Mappings:
      Namespace Name Mixin selector
      official b Lazp;b:Lazo;
      intermediary field_3571 Lnet/minecraft/class_816;field_3571:Lnet/minecraft/class_815;
      named screen Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;screen:Lnet/minecraft/client/gui/screen/ResourcePackScreen;
  • Constructor Details

    • ResourcePackWidget

      public ResourcePackWidget​(ResourcePackScreen screen)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lazp;<init>(Lazo;)V
      intermediary <init> Lnet/minecraft/class_816;<init>(Lnet/minecraft/class_815;)V
      named <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:
      render in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lawd$a;a(IIIIIIIZ)V
      intermediary method_2569 Lnet/minecraft/class_698$class_699;method_2569(IIIIIIIZ)V
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(IIIIIIIZ)V
    • getFormat

      protected abstract int getFormat()
      Mappings:
      Namespace Name Mixin selector
      official a Lazp;a()I
      intermediary method_2977 Lnet/minecraft/class_816;method_2977()I
      named getFormat Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;getFormat()I
    • getDescription

      protected abstract String getDescription()
      Mappings:
      Namespace Name Mixin selector
      official b Lazp;b()Ljava/lang/String;
      intermediary method_2978 Lnet/minecraft/class_816;method_2978()Ljava/lang/String;
      named getDescription Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;getDescription()Ljava/lang/String;
    • getName

      protected abstract String getName()
      Mappings:
      Namespace Name Mixin selector
      official c Lazp;c()Ljava/lang/String;
      intermediary method_2979 Lnet/minecraft/class_816;method_2979()Ljava/lang/String;
      named getName Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;getName()Ljava/lang/String;
    • bindIcon

      protected abstract void bindIcon()
      Mappings:
      Namespace Name Mixin selector
      official d Lazp;d()V
      intermediary method_2980 Lnet/minecraft/class_816;method_2980()V
      named bindIcon Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;bindIcon()V
    • method_2981

      protected boolean method_2981()
      Mappings:
      Namespace Name Mixin selector
      official e Lazp;e()Z
      intermediary method_2981 Lnet/minecraft/class_816;method_2981()Z
      named method_2981 Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;method_2981()Z
    • method_2982

      protected boolean method_2982()
      Mappings:
      Namespace Name Mixin selector
      official f Lazp;f()Z
      intermediary method_2982 Lnet/minecraft/class_816;method_2982()Z
      named method_2982 Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;method_2982()Z
    • method_2983

      protected boolean method_2983()
      Mappings:
      Namespace Name Mixin selector
      official g Lazp;g()Z
      intermediary method_2983 Lnet/minecraft/class_816;method_2983()Z
      named method_2983 Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;method_2983()Z
    • method_2984

      protected boolean method_2984()
      Mappings:
      Namespace Name Mixin selector
      official h Lazp;h()Z
      intermediary method_2984 Lnet/minecraft/class_816;method_2984()Z
      named method_2984 Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;method_2984()Z
    • method_2985

      protected boolean method_2985()
      Mappings:
      Namespace Name Mixin selector
      official i Lazp;i()Z
      intermediary method_2985 Lnet/minecraft/class_816;method_2985()Z
      named method_2985 Lnet/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:
      mouseClicked in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lawd$a;a(IIIIII)Z
      intermediary method_2568 Lnet/minecraft/class_698$class_699;method_2568(IIIIII)Z
      named mouseClicked Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;mouseClicked(IIIIII)Z
    • updatePosition

      public void updatePosition​(int index, int x, int y)
      Specified by:
      updatePosition in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lawd$a;a(III)V
      intermediary method_2567 Lnet/minecraft/class_698$class_699;method_2567(III)V
      named updatePosition Lnet/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:
      mouseReleased in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official b Lawd$a;b(IIIIII)V
      intermediary method_2570 Lnet/minecraft/class_698$class_699;method_2570(IIIIII)V
      named mouseReleased Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;mouseReleased(IIIIII)V