Package net.minecraft.resource
Class VanillaDataPackProvider
java.lang.Object
net.minecraft.resource.VanillaDataPackProvider
- All Implemented Interfaces:
ResourcePackProvider
- Mappings:
Namespace Name official afq
intermediary net/minecraft/class_3286
named net/minecraft/resource/VanillaDataPackProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PackResourceMetadata
static final String
private final DefaultResourcePack
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory) Register resource pack profiles created with thefactory
to theprofileAdder
.
-
Field Details
-
DEFAULT_PACK_METADATA
- Mappings:
Namespace Name Mixin selector official a
Lafq;a:Laff;
intermediary field_26939
Lnet/minecraft/class_3286;field_26939:Lnet/minecraft/class_3272;
named DEFAULT_PACK_METADATA
Lnet/minecraft/resource/VanillaDataPackProvider;DEFAULT_PACK_METADATA:Lnet/minecraft/resource/metadata/PackResourceMetadata;
-
NAME
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lafq;b:Ljava/lang/String;
intermediary field_29782
Lnet/minecraft/class_3286;field_29782:Ljava/lang/String;
named NAME
Lnet/minecraft/resource/VanillaDataPackProvider;NAME:Ljava/lang/String;
-
pack
- Mappings:
Namespace Name Mixin selector official c
Lafq;c:Lafd;
intermediary field_14269
Lnet/minecraft/class_3286;field_14269:Lnet/minecraft/class_3268;
named pack
Lnet/minecraft/resource/VanillaDataPackProvider;pack:Lnet/minecraft/resource/DefaultResourcePack;
-
-
Constructor Details
-
VanillaDataPackProvider
public VanillaDataPackProvider()
-
-
Method Details
-
register
public void register(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory) Register resource pack profiles created with thefactory
to theprofileAdder
.- Specified by:
register
in interfaceResourcePackProvider
- Parameters:
profileAdder
- the profile adder that accepts created resource pack profilesfactory
- the factory that creates the resource pack profiles- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lafp;a(Ljava/util/function/Consumer;Lafl$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
-