Class DirectoryResourcePack.DirectoryBackedFactory

java.lang.Object
net.minecraft.resource.DirectoryResourcePack.DirectoryBackedFactory
All Implemented Interfaces:
ResourcePackProfile.PackFactory
Enclosing class:
DirectoryResourcePack

public static class DirectoryResourcePack.DirectoryBackedFactory extends Object implements ResourcePackProfile.PackFactory
Mappings:
Namespace Name
official amj$a
intermediary net/minecraft/class_3259$class_8619
named net/minecraft/resource/DirectoryResourcePack$DirectoryBackedFactory
  • Field Details

    • path

      private final Path path
      Mappings:
      Namespace Name Mixin selector
      official a Lamj$a;a:Ljava/nio/file/Path;
      intermediary field_45049 Lnet/minecraft/class_3259$class_8619;field_45049:Ljava/nio/file/Path;
      named path Lnet/minecraft/resource/DirectoryResourcePack$DirectoryBackedFactory;path:Ljava/nio/file/Path;
    • alwaysStable

      private final boolean alwaysStable
      Mappings:
      Namespace Name Mixin selector
      official b Lamj$a;b:Z
      intermediary field_45050 Lnet/minecraft/class_3259$class_8619;field_45050:Z
      named alwaysStable Lnet/minecraft/resource/DirectoryResourcePack$DirectoryBackedFactory;alwaysStable:Z
  • Constructor Details

    • DirectoryBackedFactory

      public DirectoryBackedFactory(Path path, boolean alwaysStable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lamj$a;<init>(Ljava/nio/file/Path;Z)V
      intermediary <init> Lnet/minecraft/class_3259$class_8619;<init>(Ljava/nio/file/Path;Z)V
      named <init> Lnet/minecraft/resource/DirectoryResourcePack$DirectoryBackedFactory;<init>(Ljava/nio/file/Path;Z)V
  • Method Details

    • open

      public ResourcePack open(String name)
      Specified by:
      open in interface ResourcePackProfile.PackFactory
      Mappings:
      Namespace Name Mixin selector
      official a Lanb$c;a(Ljava/lang/String;)Lamh;
      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 Lanb$c;a(Ljava/lang/String;Lanb$a;)Lamh;
      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;