Class ResourcePackOpener<T>

java.lang.Object
net.minecraft.resource.ResourcePackOpener<T>
Direct Known Subclasses:
FileResourcePackProvider.PackOpenerImpl

public abstract class ResourcePackOpener<T> extends Object
Mappings:
Namespace Name
named net/minecraft/resource/ResourcePackOpener
intermediary net/minecraft/class_8621
official avf
  • Field Details

    • symlinkFinder

      private final SymlinkFinder symlinkFinder
      Mappings:
      Namespace Name Mixin selector
      named symlinkFinder Lnet/minecraft/resource/ResourcePackOpener;symlinkFinder:Lnet/minecraft/util/path/SymlinkFinder;
      intermediary field_45057 Lnet/minecraft/class_8621;field_45057:Lnet/minecraft/class_8580;
      official a Lavf;a:Lfbn;
  • Constructor Details

    • ResourcePackOpener

      protected ResourcePackOpener(SymlinkFinder symlinkFinder)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/resource/ResourcePackOpener;<init>(Lnet/minecraft/util/path/SymlinkFinder;)V
      intermediary <init> Lnet/minecraft/class_8621;<init>(Lnet/minecraft/class_8580;)V
      official <init> Lavf;<init>(Lfbn;)V
  • Method Details

    • open

      @Nullable public T open(Path path, List<SymlinkEntry> foundSymlinks) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named open Lnet/minecraft/resource/ResourcePackOpener;open(Ljava/nio/file/Path;Ljava/util/List;)Ljava/lang/Object;
      intermediary method_52441 Lnet/minecraft/class_8621;method_52441(Ljava/nio/file/Path;Ljava/util/List;)Ljava/lang/Object;
      official a Lavf;a(Ljava/nio/file/Path;Ljava/util/List;)Ljava/lang/Object;
    • openZip

      @Nullable protected abstract T openZip(Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named openZip Lnet/minecraft/resource/ResourcePackOpener;openZip(Ljava/nio/file/Path;)Ljava/lang/Object;
      intermediary method_52439 Lnet/minecraft/class_8621;method_52439(Ljava/nio/file/Path;)Ljava/lang/Object;
      official d Lavf;d(Ljava/nio/file/Path;)Ljava/lang/Object;
    • openDirectory

      @Nullable protected abstract T openDirectory(Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named openDirectory Lnet/minecraft/resource/ResourcePackOpener;openDirectory(Ljava/nio/file/Path;)Ljava/lang/Object;
      intermediary method_52438 Lnet/minecraft/class_8621;method_52438(Ljava/nio/file/Path;)Ljava/lang/Object;
      official c Lavf;c(Ljava/nio/file/Path;)Ljava/lang/Object;