Class ZipResourcePack.ZipBackedFactory

java.lang.Object
net.minecraft.resource.ZipResourcePack.ZipBackedFactory
All Implemented Interfaces:
ResourcePackProfile.PackFactory
Enclosing class:
ZipResourcePack

public static class ZipResourcePack.ZipBackedFactory extends Object implements ResourcePackProfile.PackFactory
Mappings:
Namespace Name
named net/minecraft/resource/ZipResourcePack$ZipBackedFactory
intermediary net/minecraft/class_3258$class_8615
official asy$a
  • Field Details

    • file

      private final File file
      Mappings:
      Namespace Name Mixin selector
      named file Lnet/minecraft/resource/ZipResourcePack$ZipBackedFactory;file:Ljava/io/File;
      intermediary field_45040 Lnet/minecraft/class_3258$class_8615;field_45040:Ljava/io/File;
      official a Lasy$a;a:Ljava/io/File;
  • Constructor Details

    • ZipBackedFactory

      public ZipBackedFactory(Path path)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/resource/ZipResourcePack$ZipBackedFactory;<init>(Ljava/nio/file/Path;)V
      intermediary <init> Lnet/minecraft/class_3258$class_8615;<init>(Ljava/nio/file/Path;)V
      official <init> Lasy$a;<init>(Ljava/nio/file/Path;)V
    • ZipBackedFactory

      public ZipBackedFactory(File file)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/resource/ZipResourcePack$ZipBackedFactory;<init>(Ljava/io/File;)V
      intermediary <init> Lnet/minecraft/class_3258$class_8615;<init>(Ljava/io/File;)V
      official <init> Lasy$a;<init>(Ljava/io/File;)V
  • Method Details

    • open

      public ResourcePack open(ResourcePackInfo info)
      Specified by:
      open in interface ResourcePackProfile.PackFactory
      Mappings:
      Namespace Name Mixin selector
      named open Lnet/minecraft/resource/ResourcePackProfile$PackFactory;open(Lnet/minecraft/resource/ResourcePackInfo;)Lnet/minecraft/resource/ResourcePack;
      intermediary method_52424 Lnet/minecraft/class_3288$class_7680;method_52424(Lnet/minecraft/class_9224;)Lnet/minecraft/class_3262;
      official a Latx$c;a(Lata;)Latb;
    • openWithOverlays

      public ResourcePack openWithOverlays(ResourcePackInfo info, ResourcePackProfile.Metadata metadata)
      Specified by:
      openWithOverlays in interface ResourcePackProfile.PackFactory
      Mappings:
      Namespace Name Mixin selector
      named openWithOverlays Lnet/minecraft/resource/ResourcePackProfile$PackFactory;openWithOverlays(Lnet/minecraft/resource/ResourcePackInfo;Lnet/minecraft/resource/ResourcePackProfile$Metadata;)Lnet/minecraft/resource/ResourcePack;
      intermediary method_52425 Lnet/minecraft/class_3288$class_7680;method_52425(Lnet/minecraft/class_9224;Lnet/minecraft/class_3288$class_7679;)Lnet/minecraft/class_3262;
      official a Latx$c;a(Lata;Latx$a;)Latb;