Package net.minecraft.client.resource
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 hcb
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
private static final Identifier
private static final ResourcePackInfo
private static final PackResourceMetadata
private static final ResourceMetadataMap
private static final ResourcePackPosition
private static final ResourcePackPosition
Fields inherited from class net.minecraft.resource.VanillaResourcePackProvider
VANILLA_ID, VANILLA_KEY
-
Constructor Summary
ConstructorDescriptionDefaultClientResourcePackProvider
(Path assetsPath, SymlinkFinder symlinkFinder) -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfile
create
(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) protected @Nullable ResourcePackProfile
createDefault
(ResourcePack pack) private static DefaultResourcePack
createDefaultPack
(Path assetsPath) private static ResourcePackInfo
createInfo
(String id, Text title) protected void
forEachProfile
(BiConsumer<String, Function<String, ResourcePackProfile>> consumer) protected Text
getDisplayName
(String id) getResourcePacksPath
(Path path) Methods inherited from class net.minecraft.resource.VanillaResourcePackProvider
createPackFactory, forEachProfile, getResourcePack, register
-
Field Details
-
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
Lhcb;d:Lauv;
-
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
Lhcb;e:Laty;
-
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
Lhcb;c:Ljava/lang/String;
-
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
Lhcb;f:Ljava/util/Map;
-
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
Lhcb;g:Lauf;
-
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
Lhcb;h:Lauh;
-
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
Lhcb;i:Lauh;
-
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
Lhcb;j:Lalz;
-
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
Lhcb;k:Ljava/nio/file/Path;
-
-
Constructor Details
-
DefaultClientResourcePackProvider
- 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>
Lhcb;<init>(Ljava/nio/file/Path;Lfbn;)V
-
-
Method Details
-
createInfo
- 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
Lhcb;a(Ljava/lang/String;Lxv;)Lauf;
-
getResourcePacksPath
- 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
Lhcb;a(Ljava/nio/file/Path;)Ljava/nio/file/Path;
-
createDefaultPack
- 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
Lhcb;b(Ljava/nio/file/Path;)Lauk;
-
getDisplayName
- Specified by:
getDisplayName
in classVanillaResourcePackProvider
- 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
Lava;a(Ljava/lang/String;)Lxv;
-
createDefault
- Specified by:
createDefault
in classVanillaResourcePackProvider
- 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
Lava;a(Laug;)Lavd;
-
create
@Nullable protected @Nullable ResourcePackProfile create(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) - Specified by:
create
in classVanillaResourcePackProvider
- 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
Lava;a(Ljava/lang/String;Lavd$c;Lxv;)Lavd;
-
forEachProfile
- Overrides:
forEachProfile
in classVanillaResourcePackProvider
- 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
Lava;a(Ljava/util/function/BiConsumer;)V
-