Package net.minecraft.resource
Class FileResourcePackProvider
java.lang.Object
net.minecraft.resource.FileResourcePackProvider
- All Implemented Interfaces:
ResourcePackProvider
public class FileResourcePackProvider extends Object implements ResourcePackProvider
- Mappings:
Namespace Name official acj
intermediary net/minecraft/class_3279
named net/minecraft/resource/FileResourcePackProvider
-
Field Summary
Fields Modifier and Type Field Description private File
packsFolder
private static FileFilter
POSSIBLE_PACK
private ResourcePackSource
source
-
Constructor Summary
Constructors Constructor Description FileResourcePackProvider(File packsFolder, ResourcePackSource source)
-
Method Summary
Modifier and Type Method Description private Supplier<ResourcePack>
createResourcePack(File file)
void
register(Consumer<ResourcePackProfile> consumer, ResourcePackProfile.Factory factory)
-
Field Details
-
POSSIBLE_PACK
- Mappings:
Namespace Name Mixin selector official a
Lacj;a:Ljava/io/FileFilter;
intermediary field_14217
Lnet/minecraft/class_3279;field_14217:Ljava/io/FileFilter;
named POSSIBLE_PACK
Lnet/minecraft/resource/FileResourcePackProvider;POSSIBLE_PACK:Ljava/io/FileFilter;
-
packsFolder
- Mappings:
Namespace Name Mixin selector official b
Lacj;b:Ljava/io/File;
intermediary field_14218
Lnet/minecraft/class_3279;field_14218:Ljava/io/File;
named packsFolder
Lnet/minecraft/resource/FileResourcePackProvider;packsFolder:Ljava/io/File;
-
source
- Mappings:
Namespace Name Mixin selector official c
Lacj;c:Lacn;
intermediary field_25345
Lnet/minecraft/class_3279;field_25345:Lnet/minecraft/class_5352;
named source
Lnet/minecraft/resource/FileResourcePackProvider;source:Lnet/minecraft/resource/ResourcePackSource;
-
-
Constructor Details
-
FileResourcePackProvider
- Mappings:
Namespace Name Mixin selector official <init>
Lacj;<init>(Ljava/io/File;Lacn;)V
intermediary <init>
Lnet/minecraft/class_3279;<init>(Ljava/io/File;Lnet/minecraft/class_5352;)V
named <init>
Lnet/minecraft/resource/FileResourcePackProvider;<init>(Ljava/io/File;Lnet/minecraft/resource/ResourcePackSource;)V
-
-
Method Details
-
register
- Specified by:
register
in interfaceResourcePackProvider
- Mappings:
Namespace Name Mixin selector official a
Laco;a(Ljava/util/function/Consumer;Lack$a;)V
intermediary method_14453
Lnet/minecraft/class_3285;method_14453(Ljava/util/function/Consumer;Lnet/minecraft/class_3288$class_5351;)V
named register
Lnet/minecraft/resource/ResourcePackProvider;register(Ljava/util/function/Consumer;Lnet/minecraft/resource/ResourcePackProfile$Factory;)V
-
createResourcePack
- Mappings:
Namespace Name Mixin selector official a
Lacj;a(Ljava/io/File;)Ljava/util/function/Supplier;
intermediary method_14432
Lnet/minecraft/class_3279;method_14432(Ljava/io/File;)Ljava/util/function/Supplier;
named createResourcePack
Lnet/minecraft/resource/FileResourcePackProvider;createResourcePack(Ljava/io/File;)Ljava/util/function/Supplier;
-