Package net.minecraft.resource
Class VanillaDataPackProvider
java.lang.Object
net.minecraft.resource.VanillaDataPackProvider
- All Implemented Interfaces:
ResourcePackProvider
- Mappings:
Namespace Name official adl
intermediary net/minecraft/class_3286
named net/minecraft/resource/VanillaDataPackProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic PackResourceMetadata
static String
private 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
Ladl;a:Lada;
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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official b
Ladl;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
Ladl;c:Lacy;
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:
ResourcePackProfile.of(java.lang.String, boolean, java.util.function.Supplier<net.minecraft.resource.ResourcePack>, net.minecraft.resource.ResourcePackProfile.Factory, net.minecraft.resource.ResourcePackProfile.InsertionPosition, net.minecraft.resource.ResourcePackSource)
- Mappings:
Namespace Name Mixin selector official a
Ladk;a(Ljava/util/function/Consumer;Ladg$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
-