Class DefaultClientResourcePackProvider

java.lang.Object
net.minecraft.resource.VanillaResourcePackProvider
net.minecraft.client.resource.DefaultClientResourcePackProvider
All Implemented Interfaces:
ResourcePackProvider

@Environment(CLIENT) public class DefaultClientResourcePackProvider extends VanillaResourcePackProvider
Mappings:
Namespace Name
named net/minecraft/client/resource/DefaultClientResourcePackProvider
intermediary net/minecraft/class_1065
official gqh
  • Field Details

    • METADATA

      private static final PackResourceMetadata METADATA
      Mappings:
      Namespace Name Mixin selector
      named METADATA Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;METADATA:Lnet/minecraft/resource/metadata/PackResourceMetadata;
      intermediary field_40556 Lnet/minecraft/class_1065;field_40556:Lnet/minecraft/class_3272;
      official d Lgqh;d:Lasx;
    • METADATA_MAP

      private static final ResourceMetadataMap METADATA_MAP
      Mappings:
      Namespace Name Mixin selector
      named METADATA_MAP Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;METADATA_MAP:Lnet/minecraft/resource/metadata/ResourceMetadataMap;
      intermediary field_40557 Lnet/minecraft/class_1065;field_40557:Lnet/minecraft/class_7662;
      official e Lgqh;e:Lasa;
    • HIGH_CONTRAST_ID

      public static final String HIGH_CONTRAST_ID
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HIGH_CONTRAST_ID Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;HIGH_CONTRAST_ID:Ljava/lang/String;
      intermediary field_43088 Lnet/minecraft/class_1065;field_43088:Ljava/lang/String;
      official c Lgqh;c:Ljava/lang/String;
    • PROFILE_NAME_TEXTS

      private static final Map<String,Text> PROFILE_NAME_TEXTS
      Mappings:
      Namespace Name Mixin selector
      named PROFILE_NAME_TEXTS Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;PROFILE_NAME_TEXTS:Ljava/util/Map;
      intermediary field_40559 Lnet/minecraft/class_1065;field_40559:Ljava/util/Map;
      official f Lgqh;f:Ljava/util/Map;
    • INFO

      private static final ResourcePackInfo INFO
      Mappings:
      Namespace Name Mixin selector
      named INFO Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;INFO:Lnet/minecraft/resource/ResourcePackInfo;
      intermediary field_49131 Lnet/minecraft/class_1065;field_49131:Lnet/minecraft/class_9224;
      official g Lgqh;g:Lash;
    • REQUIRED_POSITION

      private static final ResourcePackPosition REQUIRED_POSITION
      Mappings:
      Namespace Name Mixin selector
      named REQUIRED_POSITION Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;REQUIRED_POSITION:Lnet/minecraft/resource/ResourcePackPosition;
      intermediary field_49132 Lnet/minecraft/class_1065;field_49132:Lnet/minecraft/class_9225;
      official h Lgqh;h:Lasj;
    • OPTIONAL_POSITION

      private static final ResourcePackPosition OPTIONAL_POSITION
      Mappings:
      Namespace Name Mixin selector
      named OPTIONAL_POSITION Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;OPTIONAL_POSITION:Lnet/minecraft/resource/ResourcePackPosition;
      intermediary field_49133 Lnet/minecraft/class_1065;field_49133:Lnet/minecraft/class_9225;
      official i Lgqh;i:Lasj;
    • ID

      private static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      named ID Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;ID:Lnet/minecraft/util/Identifier;
      intermediary field_40560 Lnet/minecraft/class_1065;field_40560:Lnet/minecraft/class_2960;
      official j Lgqh;j:Lakk;
    • resourcePacksPath

      @Nullable private final @Nullable Path resourcePacksPath
      Mappings:
      Namespace Name Mixin selector
      named resourcePacksPath Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;resourcePacksPath:Ljava/nio/file/Path;
      intermediary field_40561 Lnet/minecraft/class_1065;field_40561:Ljava/nio/file/Path;
      official k Lgqh;k:Ljava/nio/file/Path;
  • Constructor Details

    • DefaultClientResourcePackProvider

      public DefaultClientResourcePackProvider(Path assetsPath, SymlinkFinder symlinkFinder)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;<init>(Ljava/nio/file/Path;Lnet/minecraft/util/path/SymlinkFinder;)V
      intermediary <init> Lnet/minecraft/class_1065;<init>(Ljava/nio/file/Path;Lnet/minecraft/class_8580;)V
      official <init> Lgqh;<init>(Ljava/nio/file/Path;Levx;)V
  • Method Details

    • createInfo

      private static ResourcePackInfo createInfo(String id, Text title)
      Mappings:
      Namespace Name Mixin selector
      named createInfo Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;createInfo(Ljava/lang/String;Lnet/minecraft/text/Text;)Lnet/minecraft/resource/ResourcePackInfo;
      intermediary method_57056 Lnet/minecraft/class_1065;method_57056(Ljava/lang/String;Lnet/minecraft/class_2561;)Lnet/minecraft/class_9224;
      official a Lgqh;a(Ljava/lang/String;Lwu;)Lash;
    • getResourcePacksPath

      @Nullable private @Nullable Path getResourcePacksPath(Path path)
      Mappings:
      Namespace Name Mixin selector
      named getResourcePacksPath Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;getResourcePacksPath(Ljava/nio/file/Path;)Ljava/nio/file/Path;
      intermediary method_45856 Lnet/minecraft/class_1065;method_45856(Ljava/nio/file/Path;)Ljava/nio/file/Path;
      official a Lgqh;a(Ljava/nio/file/Path;)Ljava/nio/file/Path;
    • createDefaultPack

      private static DefaultResourcePack createDefaultPack(Path assetsPath)
      Mappings:
      Namespace Name Mixin selector
      named createDefaultPack Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;createDefaultPack(Ljava/nio/file/Path;)Lnet/minecraft/resource/DefaultResourcePack;
      intermediary method_45857 Lnet/minecraft/class_1065;method_45857(Ljava/nio/file/Path;)Lnet/minecraft/class_3268;
      official b Lgqh;b(Ljava/nio/file/Path;)Lasm;
    • getDisplayName

      protected Text getDisplayName(String id)
      Specified by:
      getDisplayName in class VanillaResourcePackProvider
      Mappings:
      Namespace Name Mixin selector
      named getDisplayName Lnet/minecraft/resource/VanillaResourcePackProvider;getDisplayName(Ljava/lang/String;)Lnet/minecraft/text/Text;
      intermediary method_45259 Lnet/minecraft/class_7678;method_45259(Ljava/lang/String;)Lnet/minecraft/class_2561;
      official a Latb;a(Ljava/lang/String;)Lwu;
    • createDefault

      @Nullable protected @Nullable ResourcePackProfile createDefault(ResourcePack pack)
      Specified by:
      createDefault in class VanillaResourcePackProvider
      Mappings:
      Namespace Name Mixin selector
      named createDefault Lnet/minecraft/resource/VanillaResourcePackProvider;createDefault(Lnet/minecraft/resource/ResourcePack;)Lnet/minecraft/resource/ResourcePackProfile;
      intermediary method_45257 Lnet/minecraft/class_7678;method_45257(Lnet/minecraft/class_3262;)Lnet/minecraft/class_3288;
      official a Latb;a(Lasi;)Late;
    • create

      @Nullable protected @Nullable ResourcePackProfile create(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName)
      Specified by:
      create in class VanillaResourcePackProvider
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/resource/VanillaResourcePackProvider;create(Ljava/lang/String;Lnet/minecraft/resource/ResourcePackProfile$PackFactory;Lnet/minecraft/text/Text;)Lnet/minecraft/resource/ResourcePackProfile;
      intermediary method_45260 Lnet/minecraft/class_7678;method_45260(Ljava/lang/String;Lnet/minecraft/class_3288$class_7680;Lnet/minecraft/class_2561;)Lnet/minecraft/class_3288;
      official a Latb;a(Ljava/lang/String;Late$c;Lwu;)Late;
    • forEachProfile

      protected void forEachProfile(BiConsumer<String,Function<String,ResourcePackProfile>> consumer)
      Overrides:
      forEachProfile in class VanillaResourcePackProvider
      Mappings:
      Namespace Name Mixin selector
      named forEachProfile Lnet/minecraft/resource/VanillaResourcePackProvider;forEachProfile(Ljava/util/function/BiConsumer;)V
      intermediary method_45263 Lnet/minecraft/class_7678;method_45263(Ljava/util/function/BiConsumer;)V
      official a Latb;a(Ljava/util/function/BiConsumer;)V