Interface InputSupplier<T>

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 InputSupplier<T>
Mappings:
Namespace Name
named net/minecraft/resource/InputSupplier
intermediary net/minecraft/class_7367
official auh
  • Method Details

    • create

      static InputSupplier<InputStream> create(Path path)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/resource/InputSupplier;create(Ljava/nio/file/Path;)Lnet/minecraft/resource/InputSupplier;
      intermediary create Lnet/minecraft/class_7367;create(Ljava/nio/file/Path;)Lnet/minecraft/class_7367;
      official create Lauh;create(Ljava/nio/file/Path;)Lauh;
    • create

      static InputSupplier<InputStream> create(ZipFile zipFile, ZipEntry zipEntry)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/resource/InputSupplier;create(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipEntry;)Lnet/minecraft/resource/InputSupplier;
      intermediary create Lnet/minecraft/class_7367;create(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipEntry;)Lnet/minecraft/class_7367;
      official create Lauh;create(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipEntry;)Lauh;
    • get

      T get() throws IOException
      Throws:
      IOException