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
official and
intermediary net/minecraft/class_8621
named net/minecraft/resource/ResourcePackOpener
  • Field Details

    • symlinkFinder

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

    • ResourcePackOpener

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

    • open

      @Nullable public T open(Path path, List<SymlinkEntry> foundSymlinks) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Land;a(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;
      named open Lnet/minecraft/resource/ResourcePackOpener;open(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
      official d Land;d(Ljava/nio/file/Path;)Ljava/lang/Object;
      intermediary method_52439 Lnet/minecraft/class_8621;method_52439(Ljava/nio/file/Path;)Ljava/lang/Object;
      named openZip Lnet/minecraft/resource/ResourcePackOpener;openZip(Ljava/nio/file/Path;)Ljava/lang/Object;
    • openDirectory

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