Package net.minecraft.resource
Class VanillaDataPackProvider
java.lang.Object
net.minecraft.resource.VanillaDataPackProvider
- All Implemented Interfaces:
ResourcePackProvider
- Mappings:
Namespace Name official aib
intermediary net/minecraft/class_3286
named net/minecraft/resource/VanillaDataPackProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PackResourceMetadata
static final String
private final DefaultResourcePack
-
Constructor Summary
Constructors -
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
Laib;a:Lahq;
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
Laib;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
Laib;c:Laho;
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
Laia;a(Ljava/util/function/Consumer;Lahw$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
-