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
official aou$a
intermediary net/minecraft/class_3258$class_8615
named net/minecraft/resource/ZipResourcePack$ZipBackedFactory
  • Field Details

    • file

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

      private final boolean alwaysStable
      Mappings:
      Namespace Name Mixin selector
      official b Laou$a;b:Z
      intermediary field_45041 Lnet/minecraft/class_3258$class_8615;field_45041:Z
      named alwaysStable Lnet/minecraft/resource/ZipResourcePack$ZipBackedFactory;alwaysStable:Z
  • Constructor Details

    • ZipBackedFactory

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

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

    • open

      public ResourcePack open(String name)
      Specified by:
      open in interface ResourcePackProfile.PackFactory
      Mappings:
      Namespace Name Mixin selector
      official a Lapq$c;a(Ljava/lang/String;)Laow;
      intermediary method_52424 Lnet/minecraft/class_3288$class_7680;method_52424(Ljava/lang/String;)Lnet/minecraft/class_3262;
      named open Lnet/minecraft/resource/ResourcePackProfile$PackFactory;open(Ljava/lang/String;)Lnet/minecraft/resource/ResourcePack;
    • openWithOverlays

      public ResourcePack openWithOverlays(String name, ResourcePackProfile.Metadata metadata)
      Specified by:
      openWithOverlays in interface ResourcePackProfile.PackFactory
      Mappings:
      Namespace Name Mixin selector
      official a Lapq$c;a(Ljava/lang/String;Lapq$a;)Laow;
      intermediary method_52425 Lnet/minecraft/class_3288$class_7680;method_52425(Ljava/lang/String;Lnet/minecraft/class_3288$class_7679;)Lnet/minecraft/class_3262;
      named openWithOverlays Lnet/minecraft/resource/ResourcePackProfile$PackFactory;openWithOverlays(Ljava/lang/String;Lnet/minecraft/resource/ResourcePackProfile$Metadata;)Lnet/minecraft/resource/ResourcePack;