Interface ResourcePackProfile.Factory

Enclosing class:
ResourcePackProfile
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 static interface ResourcePackProfile.Factory
Mappings:
Namespace Name
official ack$a
intermediary net/minecraft/class_3288$class_5351
named net/minecraft/resource/ResourcePackProfile$Factory
  • Method Details

    • create

      @Nullable ResourcePackProfile create​(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition initialPosition, ResourcePackSource source)
      Mappings:
      Namespace Name Mixin selector
      official create Lack$a;create(Ljava/lang/String;Loi;ZLjava/util/function/Supplier;Lace;Lack$b;Lacn;)Lack;
      intermediary create Lnet/minecraft/class_3288$class_5351;create(Ljava/lang/String;Lnet/minecraft/class_2561;ZLjava/util/function/Supplier;Lnet/minecraft/class_3272;Lnet/minecraft/class_3288$class_3289;Lnet/minecraft/class_5352;)Lnet/minecraft/class_3288;
      named create Lnet/minecraft/resource/ResourcePackProfile$Factory;create(Ljava/lang/String;Lnet/minecraft/text/Text;ZLjava/util/function/Supplier;Lnet/minecraft/resource/metadata/PackResourceMetadata;Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;Lnet/minecraft/resource/ResourcePackSource;)Lnet/minecraft/resource/ResourcePackProfile;