Interface ResourcePackProvider

All Known Implementing Classes:
DefaultClientResourcePackProvider, FileResourcePackProvider, VanillaDataPackProvider, VanillaResourcePackProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ResourcePackProvider
A resource pack provider provides ResourcePackProfiles, usually to ResourcePackManagers.
Mappings:
Namespace Name
named net/minecraft/resource/ResourcePackProvider
intermediary net/minecraft/class_3285
official atq
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Register resource pack profiles created with the factory to the profileAdder.
  • Method Details

    • register

      void register(Consumer<ResourcePackProfile> profileAdder)
      Register resource pack profiles created with the factory to the profileAdder.
      Parameters:
      profileAdder - the profile adder that accepts created resource pack profiles
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/resource/ResourcePackProvider;register(Ljava/util/function/Consumer;)V
      intermediary method_14453 Lnet/minecraft/class_3285;method_14453(Ljava/util/function/Consumer;)V
      official loadPacks Latq;loadPacks(Ljava/util/function/Consumer;)V