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 gps
-
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
Lgps;d:Latq;
-
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
Lgps;e:Last;
-
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
Lgps;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
Lgps;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
Lgps;g:Lata;
-
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
Lgps;h:Latc;
-
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
Lgps;i:Latc;
-
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
Lgps;j:Lalf;
-
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
Lgps;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>
Lgps;<init>(Ljava/nio/file/Path;Levj;)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
Lgps;a(Ljava/lang/String;Lxp;)Lata;
-
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
Lgps;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
Lgps;b(Ljava/nio/file/Path;)Latf;
-
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
Latu;a(Ljava/lang/String;)Lxp;
-
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
Latu;a(Latb;)Latx;
-
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
Latu;a(Ljava/lang/String;Latx$c;Lxp;)Latx;
-
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
Latu;a(Ljava/util/function/BiConsumer;)V
-