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 official fvl
intermediary net/minecraft/class_1065
named net/minecraft/client/resource/DefaultClientResourcePackProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
private static final Identifier
private static final PackResourceMetadata
private static final ResourceMetadataMap
private static final Text
Fields inherited from class net.minecraft.resource.VanillaResourcePackProvider
VANILLA_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfile
create
(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) protected @Nullable ResourcePackProfile
createDefault
(ResourcePack pack) private static DefaultResourcePack
createDefaultPack
(Path assetsPath) protected void
forEachProfile
(BiConsumer<String, Function<String, ResourcePackProfile>> consumer) protected Text
getProfileName
(String id) getResourcePacksPath
(Path path) Methods inherited from class net.minecraft.resource.VanillaResourcePackProvider
forEachProfile, getResourcePack, register
-
Field Details
-
METADATA
- Mappings:
Namespace Name Mixin selector official c
Lfvl;c:Lajz;
intermediary field_40556
Lnet/minecraft/class_1065;field_40556:Lnet/minecraft/class_3272;
named METADATA
Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;METADATA:Lnet/minecraft/resource/metadata/PackResourceMetadata;
-
METADATA_MAP
- Mappings:
Namespace Name Mixin selector official d
Lfvl;d:Laji;
intermediary field_40557
Lnet/minecraft/class_1065;field_40557:Lnet/minecraft/class_7662;
named METADATA_MAP
Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;METADATA_MAP:Lnet/minecraft/resource/metadata/ResourceMetadataMap;
-
VANILLA_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official e
Lfvl;e:Lsw;
intermediary field_40558
Lnet/minecraft/class_1065;field_40558:Lnet/minecraft/class_2561;
named VANILLA_NAME_TEXT
Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;VANILLA_NAME_TEXT:Lnet/minecraft/text/Text;
-
HIGH_CONTRAST_NAME
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lfvl;b:Ljava/lang/String;
intermediary field_43088
Lnet/minecraft/class_1065;field_43088:Ljava/lang/String;
named HIGH_CONTRAST_NAME
Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;HIGH_CONTRAST_NAME:Ljava/lang/String;
-
PROFILE_NAME_TEXTS
- Mappings:
Namespace Name Mixin selector official f
Lfvl;f:Ljava/util/Map;
intermediary field_40559
Lnet/minecraft/class_1065;field_40559:Ljava/util/Map;
named PROFILE_NAME_TEXTS
Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;PROFILE_NAME_TEXTS:Ljava/util/Map;
-
ID
- Mappings:
Namespace Name Mixin selector official g
Lfvl;g:Lacq;
intermediary field_40560
Lnet/minecraft/class_1065;field_40560:Lnet/minecraft/class_2960;
named ID
Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;ID:Lnet/minecraft/util/Identifier;
-
resourcePacksPath
- Mappings:
Namespace Name Mixin selector official h
Lfvl;h:Ljava/nio/file/Path;
intermediary field_40561
Lnet/minecraft/class_1065;field_40561:Ljava/nio/file/Path;
named resourcePacksPath
Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;resourcePacksPath:Ljava/nio/file/Path;
-
-
Constructor Details
-
DefaultClientResourcePackProvider
- Mappings:
Namespace Name Mixin selector official <init>
Lfvl;<init>(Ljava/nio/file/Path;)V
intermediary <init>
Lnet/minecraft/class_1065;<init>(Ljava/nio/file/Path;)V
named <init>
Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;<init>(Ljava/nio/file/Path;)V
-
-
Method Details
-
getResourcePacksPath
- Mappings:
Namespace Name Mixin selector official a
Lfvl;a(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;
named getResourcePacksPath
Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;getResourcePacksPath(Ljava/nio/file/Path;)Ljava/nio/file/Path;
-
createDefaultPack
- Mappings:
Namespace Name Mixin selector official b
Lfvl;b(Ljava/nio/file/Path;)Lajo;
intermediary method_45857
Lnet/minecraft/class_1065;method_45857(Ljava/nio/file/Path;)Lnet/minecraft/class_3268;
named createDefaultPack
Lnet/minecraft/client/resource/DefaultClientResourcePackProvider;createDefaultPack(Ljava/nio/file/Path;)Lnet/minecraft/resource/DefaultResourcePack;
-
getProfileName
- Specified by:
getProfileName
in classVanillaResourcePackProvider
- Mappings:
Namespace Name Mixin selector official a
Lake;a(Ljava/lang/String;)Lsw;
intermediary method_45259
Lnet/minecraft/class_7678;method_45259(Ljava/lang/String;)Lnet/minecraft/class_2561;
named getProfileName
Lnet/minecraft/resource/VanillaResourcePackProvider;getProfileName(Ljava/lang/String;)Lnet/minecraft/text/Text;
-
createDefault
- Specified by:
createDefault
in classVanillaResourcePackProvider
- Mappings:
Namespace Name Mixin selector official a
Lake;a(Lajl;)Lakg;
intermediary method_45257
Lnet/minecraft/class_7678;method_45257(Lnet/minecraft/class_3262;)Lnet/minecraft/class_3288;
named createDefault
Lnet/minecraft/resource/VanillaResourcePackProvider;createDefault(Lnet/minecraft/resource/ResourcePack;)Lnet/minecraft/resource/ResourcePackProfile;
-
create
@Nullable protected @Nullable ResourcePackProfile create(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) - Specified by:
create
in classVanillaResourcePackProvider
- Mappings:
Namespace Name Mixin selector official a
Lake;a(Ljava/lang/String;Lakg$c;Lsw;)Lakg;
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;
named create
Lnet/minecraft/resource/VanillaResourcePackProvider;create(Ljava/lang/String;Lnet/minecraft/resource/ResourcePackProfile$PackFactory;Lnet/minecraft/text/Text;)Lnet/minecraft/resource/ResourcePackProfile;
-
forEachProfile
- Overrides:
forEachProfile
in classVanillaResourcePackProvider
- Mappings:
Namespace Name Mixin selector official a
Lake;a(Ljava/util/function/BiConsumer;)V
intermediary method_45263
Lnet/minecraft/class_7678;method_45263(Ljava/util/function/BiConsumer;)V
named forEachProfile
Lnet/minecraft/resource/VanillaResourcePackProvider;forEachProfile(Ljava/util/function/BiConsumer;)V
-