Class ResourcePackWidget

java.lang.Object
net.minecraft.client.gui.screen.resourcepack.ResourcePackWidget
All Implemented Interfaces:
EntryListWidget.Entry
Direct Known Subclasses:
class_2846, ResourcePackEntryWidget

@Environment(CLIENT) public abstract class ResourcePackWidget extends Object implements EntryListWidget.Entry
Mappings:
Namespace Name
official bjn
intermediary net/minecraft/class_1828
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 Lbjn;c:Lkq;
      intermediary field_7852 Lnet/minecraft/class_1828;field_7852:Lnet/minecraft/class_1653;
      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 Lbjn;d:Lfb;
      intermediary field_10490 Lnet/minecraft/class_1828;field_10490:Lnet/minecraft/class_1982;
      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 Lbjn;e:Lfb;
      intermediary field_10491 Lnet/minecraft/class_1828;field_10491:Lnet/minecraft/class_1982;
      named INCOMPATIBLE_OLD_TEXT Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;INCOMPATIBLE_OLD_TEXT:Lnet/minecraft/text/Text;
    • INCOMPATIBLE_NEW_TEXT

      private static final Text INCOMPATIBLE_NEW_TEXT
      Mappings:
      Namespace Name Mixin selector
      official f Lbjn;f:Lfb;
      intermediary field_10492 Lnet/minecraft/class_1828;field_10492:Lnet/minecraft/class_1982;
      named INCOMPATIBLE_NEW_TEXT Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;INCOMPATIBLE_NEW_TEXT:Lnet/minecraft/text/Text;
    • client

      protected final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official a Lbjn;a:Lbes;
      intermediary field_7850 Lnet/minecraft/class_1828;field_7850:Lnet/minecraft/class_1600;
      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 Lbjn;b:Lbjm;
      intermediary field_7851 Lnet/minecraft/class_1828;field_7851:Lnet/minecraft/class_617;
      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> Lbjn;<init>(Lbjm;)V
      intermediary <init> Lnet/minecraft/class_1828;<init>(Lnet/minecraft/class_617;)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 Lbfy$a;a(IIIIIIIZ)V
      intermediary method_6700 Lnet/minecraft/class_1802$class_1803;method_6700(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 Lbjn;a()I
      intermediary method_9613 Lnet/minecraft/class_1828;method_9613()I
      named getFormat Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;getFormat()I
    • getDescription

      protected abstract String getDescription()
      Mappings:
      Namespace Name Mixin selector
      official b Lbjn;b()Ljava/lang/String;
      intermediary method_6799 Lnet/minecraft/class_1828;method_6799()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 Lbjn;c()Ljava/lang/String;
      intermediary method_6800 Lnet/minecraft/class_1828;method_6800()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 Lbjn;d()V
      intermediary method_6801 Lnet/minecraft/class_1828;method_6801()V
      named bindIcon Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;bindIcon()V
    • isVisible

      protected boolean isVisible()
      Mappings:
      Namespace Name Mixin selector
      official e Lbjn;e()Z
      intermediary method_6802 Lnet/minecraft/class_1828;method_6802()Z
      named isVisible Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;isVisible()Z
    • isNotSelected

      protected boolean isNotSelected()
      Mappings:
      Namespace Name Mixin selector
      official f Lbjn;f()Z
      intermediary method_6803 Lnet/minecraft/class_1828;method_6803()Z
      named isNotSelected Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;isNotSelected()Z
    • isSelected

      protected boolean isSelected()
      Mappings:
      Namespace Name Mixin selector
      official g Lbjn;g()Z
      intermediary method_6804 Lnet/minecraft/class_1828;method_6804()Z
      named isSelected Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;isSelected()Z
    • canSortUp

      protected boolean canSortUp()
      Mappings:
      Namespace Name Mixin selector
      official h Lbjn;h()Z
      intermediary method_6805 Lnet/minecraft/class_1828;method_6805()Z
      named canSortUp Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;canSortUp()Z
    • canSortDown

      protected boolean canSortDown()
      Mappings:
      Namespace Name Mixin selector
      official i Lbjn;i()Z
      intermediary method_6806 Lnet/minecraft/class_1828;method_6806()Z
      named canSortDown Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;canSortDown()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 Lbfy$a;a(IIIIII)Z
      intermediary method_6699 Lnet/minecraft/class_1802$class_1803;method_6699(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 Lbfy$a;a(III)V
      intermediary method_9473 Lnet/minecraft/class_1802$class_1803;method_9473(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 Lbfy$a;b(IIIIII)V
      intermediary method_6701 Lnet/minecraft/class_1802$class_1803;method_6701(IIIIII)V
      named mouseReleased Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;mouseReleased(IIIIII)V
    • method_12199

      public boolean method_12199()
      Mappings:
      Namespace Name Mixin selector
      official j Lbjn;j()Z
      intermediary method_12199 Lnet/minecraft/class_1828;method_12199()Z
      named method_12199 Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;method_12199()Z