Class ResourcePackListWidget

All Implemented Interfaces:
class_4122, class_4123
Direct Known Subclasses:
AvailableResourcePackListWidget, SelectedResourcePackListWidget

@Environment(CLIENT) public abstract class ResourcePackListWidget extends EntryListWidget<ResourcePackEntryWidget>
Mappings:
Namespace Name
official cmt
intermediary net/minecraft/class_1832
named net/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget
  • Field Details

    • clientInstance

      protected final MinecraftClient clientInstance
      Mappings:
      Namespace Name Mixin selector
      official v Lcmt;v:Lcft;
      intermediary field_7857 Lnet/minecraft/class_1832;field_7857:Lnet/minecraft/class_1600;
      named clientInstance Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget;clientInstance:Lnet/minecraft/client/MinecraftClient;
  • Constructor Details

    • ResourcePackListWidget

      public ResourcePackListWidget(MinecraftClient minecraftClient, int int2, int int3)
  • Method Details

    • renderHeader

      protected void renderHeader(int x, int y, Tessellator tessellator)
      Overrides:
      renderHeader in class ListWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(IILcum;)V
      intermediary method_1056 Lnet/minecraft/class_390;method_1056(IILnet/minecraft/class_533;)V
      named renderHeader Lnet/minecraft/client/gui/widget/ListWidget;renderHeader(IILnet/minecraft/client/render/Tessellator;)V
    • getTitle

      protected abstract String getTitle()
      Mappings:
      Namespace Name Mixin selector
      official g Lcmt;g()Ljava/lang/String;
      intermediary method_6809 Lnet/minecraft/class_1832;method_6809()Ljava/lang/String;
      named getTitle Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget;getTitle()Ljava/lang/String;
    • getRowWidth

      public int getRowWidth()
      Overrides:
      getRowWidth in class ListWidget
      Mappings:
      Namespace Name Mixin selector
      official e Lchl;e()I
      intermediary method_6706 Lnet/minecraft/class_390;method_6706()I
      named getRowWidth Lnet/minecraft/client/gui/widget/ListWidget;getRowWidth()I
    • getScrollbarPosition

      protected int getScrollbarPosition()
      Overrides:
      getScrollbarPosition in class ListWidget
      Mappings:
      Namespace Name Mixin selector
      official f Lchl;f()I
      intermediary method_1069 Lnet/minecraft/class_390;method_1069()I
      named getScrollbarPosition Lnet/minecraft/client/gui/widget/ListWidget;getScrollbarPosition()I
    • method_18829

      public void method_18829(ResourcePackEntryWidget resourcePackEntryWidget)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmt;a(Lcmq;)V
      intermediary method_18829 Lnet/minecraft/class_1832;method_18829(Lnet/minecraft/class_1830;)V
      named method_18829 Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget;method_18829(Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackEntryWidget;)V