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 gqw
-
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
Lgqw;d:Late;
-
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
Lgqw;e:Lash;
-
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
Lgqw;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
Lgqw;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
Lgqw;g:Laso;
-
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
Lgqw;h:Lasq;
-
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
Lgqw;i:Lasq;
-
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
Lgqw;j:Lakq;
-
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
Lgqw;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>
Lgqw;<init>(Ljava/nio/file/Path;Lewm;)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
Lgqw;a(Ljava/lang/String;Lwy;)Laso;
-
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
Lgqw;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
Lgqw;b(Ljava/nio/file/Path;)Last;
-
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
Lati;a(Ljava/lang/String;)Lwy;
-
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
Lati;a(Lasp;)Latl;
-
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
Lati;a(Ljava/lang/String;Latl$c;Lwy;)Latl;
-
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
Lati;a(Ljava/util/function/BiConsumer;)V
-