Package net.minecraft.resource
Class FileResourcePackProvider
java.lang.Object
net.minecraft.resource.FileResourcePackProvider
- All Implemented Interfaces:
ResourcePackProvider
- Mappings:
Namespace Name official ajbintermediary net/minecraft/class_3279named net/minecraft/resource/FileResourcePackProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate final ResourceTypeprivate final Pathprivate final ResourcePackSource -
Constructor Summary
ConstructorsConstructorDescriptionFileResourcePackProvider(Path path, ResourceType resourceType, ResourcePackSource resourcePackSource) -
Method Summary
Modifier and TypeMethodDescriptionmethod_45269(Path path) static voidmethod_45271(Path path, BiConsumer<Path, ResourcePackProfile.class_7680> biConsumer) private static Stringmethod_45273(Path path) voidregister(Consumer<ResourcePackProfile> profileAdder) Register resource pack profiles created with thefactoryto theprofileAdder.
-
Field Details
-
field_40044
- Mappings:
Namespace Name Mixin selector official aLajb;a:Lorg/slf4j/Logger;intermediary field_40044Lnet/minecraft/class_3279;field_40044:Lorg/slf4j/Logger;named field_40044Lnet/minecraft/resource/FileResourcePackProvider;field_40044:Lorg/slf4j/Logger;
-
packsFolder
- Mappings:
Namespace Name Mixin selector official bLajb;b:Ljava/nio/file/Path;intermediary field_14218Lnet/minecraft/class_3279;field_14218:Ljava/nio/file/Path;named packsFolderLnet/minecraft/resource/FileResourcePackProvider;packsFolder:Ljava/nio/file/Path;
-
field_40045
- Mappings:
Namespace Name Mixin selector official cLajb;c:Laii;intermediary field_40045Lnet/minecraft/class_3279;field_40045:Lnet/minecraft/class_3264;named field_40045Lnet/minecraft/resource/FileResourcePackProvider;field_40045:Lnet/minecraft/resource/ResourceType;
-
source
- Mappings:
Namespace Name Mixin selector official dLajb;d:Lajf;intermediary field_25345Lnet/minecraft/class_3279;field_25345:Lnet/minecraft/class_5352;named sourceLnet/minecraft/resource/FileResourcePackProvider;source:Lnet/minecraft/resource/ResourcePackSource;
-
-
Constructor Details
-
FileResourcePackProvider
public FileResourcePackProvider(Path path, ResourceType resourceType, ResourcePackSource resourcePackSource)
-
-
Method Details
-
method_45273
- Mappings:
Namespace Name Mixin selector official bLajb;b(Ljava/nio/file/Path;)Ljava/lang/String;intermediary method_45273Lnet/minecraft/class_3279;method_45273(Ljava/nio/file/Path;)Ljava/lang/String;named method_45273Lnet/minecraft/resource/FileResourcePackProvider;method_45273(Ljava/nio/file/Path;)Ljava/lang/String;
-
register
Register resource pack profiles created with thefactoryto theprofileAdder.- Specified by:
registerin interfaceResourcePackProvider- Parameters:
profileAdder- the profile adder that accepts created resource pack profiles- See Also:
- Mappings:
Namespace Name Mixin selector official aLajg;a(Ljava/util/function/Consumer;)Vintermediary method_14453Lnet/minecraft/class_3285;method_14453(Ljava/util/function/Consumer;)Vnamed registerLnet/minecraft/resource/ResourcePackProvider;register(Ljava/util/function/Consumer;)V
-
method_45271
public static void method_45271(Path path, BiConsumer<Path, ResourcePackProfile.class_7680> biConsumer) throws IOException- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLajb;a(Ljava/nio/file/Path;Ljava/util/function/BiConsumer;)Vintermediary method_45271Lnet/minecraft/class_3279;method_45271(Ljava/nio/file/Path;Ljava/util/function/BiConsumer;)Vnamed method_45271Lnet/minecraft/resource/FileResourcePackProvider;method_45271(Ljava/nio/file/Path;Ljava/util/function/BiConsumer;)V
-
method_45269
- Mappings:
Namespace Name Mixin selector official aLajb;a(Ljava/nio/file/Path;)Lajc$c;intermediary method_45269Lnet/minecraft/class_3279;method_45269(Ljava/nio/file/Path;)Lnet/minecraft/class_3288$class_7680;named method_45269Lnet/minecraft/resource/FileResourcePackProvider;method_45269(Ljava/nio/file/Path;)Lnet/minecraft/resource/ResourcePackProfile$class_7680;
-