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
named net/minecraft/client/gui/screen/pack/ResourcePackOrganizer$AbstractPack
intermediary net/minecraft/class_5369$class_5372
official frs$b
  • Field Details

    • profile

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

    • AbstractPack

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

    • getCurrentList

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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