Package net.minecraft.resource
Interface ResourcePackProvider
- All Known Implementing Classes:
DefaultClientResourcePackProvider
,FileResourcePackProvider
,ServerResourcePackProvider
,VanillaDataPackProvider
,VanillaResourcePackProvider
public interface ResourcePackProvider
A resource pack provider provides
ResourcePackProfile
s, usually to
ResourcePackManager
s.- Mappings:
Namespace Name official akk
intermediary net/minecraft/class_3285
named net/minecraft/resource/ResourcePackProvider
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(Consumer<ResourcePackProfile> profileAdder) Register resource pack profiles created with thefactory
to theprofileAdder
.
-
Method Details
-
register
Register resource pack profiles created with thefactory
to theprofileAdder
.- Parameters:
profileAdder
- the profile adder that accepts created resource pack profiles- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lakk;a(Ljava/util/function/Consumer;)V
intermediary method_14453
Lnet/minecraft/class_3285;method_14453(Ljava/util/function/Consumer;)V
named register
Lnet/minecraft/resource/ResourcePackProvider;register(Ljava/util/function/Consumer;)V
-