Class ResourcePackOrganizer.AbstractPack

java.lang.Object
net.minecraft.client.gui.screen.pack.ResourcePackOrganizer.AbstractPack
All Implemented Interfaces:
ResourcePackOrganizer.Pack
Direct Known Subclasses:
ResourcePackOrganizer.DisabledPack, ResourcePackOrganizer.EnabledPack
Enclosing class:
ResourcePackOrganizer

@Environment(CLIENT) private abstract class ResourcePackOrganizer.AbstractPack extends Object implements ResourcePackOrganizer.Pack
Mappings:
Namespace Name
official ewh$b
intermediary net/minecraft/class_5369$class_5372
named net/minecraft/client/gui/screen/pack/ResourcePackOrganizer$AbstractPack
  • Field Details

    • profile

      private final ResourcePackProfile profile
      Mappings:
      Namespace Name Mixin selector
      official b Lewh$b;b:Lakq;
      intermediary field_25461 Lnet/minecraft/class_5369$class_5372;field_25461:Lnet/minecraft/class_3288;
      named profile Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$AbstractPack;profile:Lnet/minecraft/resource/ResourcePackProfile;
  • Constructor Details

    • AbstractPack

      public AbstractPack(ResourcePackProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lewh$b;<init>(Lewh;Lakq;)V
      intermediary <init> Lnet/minecraft/class_5369$class_5372;<init>(Lnet/minecraft/class_5369;Lnet/minecraft/class_3288;)V
      named <init> Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$AbstractPack;<init>(Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;Lnet/minecraft/resource/ResourcePackProfile;)V
  • Method Details

    • getCurrentList

      protected abstract List<ResourcePackProfile> getCurrentList()
      Mappings:
      Namespace Name Mixin selector
      official s Lewh$b;s()Ljava/util/List;
      intermediary method_29666 Lnet/minecraft/class_5369$class_5372;method_29666()Ljava/util/List;
      named getCurrentList Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$AbstractPack;getCurrentList()Ljava/util/List;
    • getOppositeList

      protected abstract List<ResourcePackProfile> getOppositeList()
      Mappings:
      Namespace Name Mixin selector
      official t Lewh$b;t()Ljava/util/List;
      intermediary method_29667 Lnet/minecraft/class_5369$class_5372;method_29667()Ljava/util/List;
      named getOppositeList Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$AbstractPack;getOppositeList()Ljava/util/List;
    • getIconId

      public Identifier getIconId()
      Specified by:
      getIconId in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official a Lewh$a;a()Ladd;
      intermediary method_30286 Lnet/minecraft/class_5369$class_5371;method_30286()Lnet/minecraft/class_2960;
      named getIconId Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;getIconId()Lnet/minecraft/util/Identifier;
    • getCompatibility

      public ResourcePackCompatibility getCompatibility()
      Specified by:
      getCompatibility in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official b Lewh$a;b()Lakr;
      intermediary method_29648 Lnet/minecraft/class_5369$class_5371;method_29648()Lnet/minecraft/class_3281;
      named getCompatibility Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;getCompatibility()Lnet/minecraft/resource/ResourcePackCompatibility;
    • getName

      public String getName()
      Specified by:
      getName in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official c Lewh$a;c()Ljava/lang/String;
      intermediary method_48276 Lnet/minecraft/class_5369$class_5371;method_48276()Ljava/lang/String;
      named getName Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;getName()Ljava/lang/String;
    • getDisplayName

      public Text getDisplayName()
      Specified by:
      getDisplayName in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official d Lewh$a;d()Ltj;
      intermediary method_29650 Lnet/minecraft/class_5369$class_5371;method_29650()Lnet/minecraft/class_2561;
      named getDisplayName Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;getDisplayName()Lnet/minecraft/text/Text;
    • getDescription

      public Text getDescription()
      Specified by:
      getDescription in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official e Lewh$a;e()Ltj;
      intermediary method_29651 Lnet/minecraft/class_5369$class_5371;method_29651()Lnet/minecraft/class_2561;
      named getDescription Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;getDescription()Lnet/minecraft/text/Text;
    • getSource

      public ResourcePackSource getSource()
      Specified by:
      getSource in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official f Lewh$a;f()Lakt;
      intermediary method_29652 Lnet/minecraft/class_5369$class_5371;method_29652()Lnet/minecraft/class_5352;
      named getSource Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;getSource()Lnet/minecraft/resource/ResourcePackSource;
    • isPinned

      public boolean isPinned()
      Specified by:
      isPinned in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official h Lewh$a;h()Z
      intermediary method_29654 Lnet/minecraft/class_5369$class_5371;method_29654()Z
      named isPinned Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;isPinned()Z
    • isAlwaysEnabled

      public boolean isAlwaysEnabled()
      Specified by:
      isAlwaysEnabled in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official i Lewh$a;i()Z
      intermediary method_29655 Lnet/minecraft/class_5369$class_5371;method_29655()Z
      named isAlwaysEnabled Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;isAlwaysEnabled()Z
    • toggle

      protected void toggle()
      Mappings:
      Namespace Name Mixin selector
      official u Lewh$b;u()V
      intermediary method_29668 Lnet/minecraft/class_5369$class_5372;method_29668()V
      named toggle Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$AbstractPack;toggle()V
    • toggleHighContrastOption

      private void toggleHighContrastOption()
      Mappings:
      Namespace Name Mixin selector
      official v Lewh$b;v()V
      intermediary method_49628 Lnet/minecraft/class_5369$class_5372;method_49628()V
      named toggleHighContrastOption Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$AbstractPack;toggleHighContrastOption()V
    • move

      protected void move(int offset)
      Mappings:
      Namespace Name Mixin selector
      official a Lewh$b;a(I)V
      intermediary method_29665 Lnet/minecraft/class_5369$class_5372;method_29665(I)V
      named move Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$AbstractPack;move(I)V
    • canMoveTowardStart

      public boolean canMoveTowardStart()
      Specified by:
      canMoveTowardStart in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official q Lewh$a;q()Z
      intermediary method_29663 Lnet/minecraft/class_5369$class_5371;method_29663()Z
      named canMoveTowardStart Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;canMoveTowardStart()Z
    • moveTowardStart

      public void moveTowardStart()
      Specified by:
      moveTowardStart in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official l Lewh$a;l()V
      intermediary method_29658 Lnet/minecraft/class_5369$class_5371;method_29658()V
      named moveTowardStart Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;moveTowardStart()V
    • canMoveTowardEnd

      public boolean canMoveTowardEnd()
      Specified by:
      canMoveTowardEnd in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official r Lewh$a;r()Z
      intermediary method_29664 Lnet/minecraft/class_5369$class_5371;method_29664()Z
      named canMoveTowardEnd Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;canMoveTowardEnd()Z
    • moveTowardEnd

      public void moveTowardEnd()
      Specified by:
      moveTowardEnd in interface ResourcePackOrganizer.Pack
      Mappings:
      Namespace Name Mixin selector
      official m Lewh$a;m()V
      intermediary method_29659 Lnet/minecraft/class_5369$class_5371;method_29659()V
      named moveTowardEnd Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$Pack;moveTowardEnd()V