Class DataOutput.PathResolver

java.lang.Object
net.minecraft.data.DataOutput.PathResolver
Enclosing class:
DataOutput

public static class DataOutput.PathResolver extends Object
Mappings:
Namespace Name
official km$a
intermediary net/minecraft/class_7784$class_7489
named net/minecraft/data/DataOutput$PathResolver
  • Field Details

    • rootPath

      private final Path rootPath
      Mappings:
      Namespace Name Mixin selector
      official a Lkm$a;a:Ljava/nio/file/Path;
      intermediary field_39365 Lnet/minecraft/class_7784$class_7489;field_39365:Ljava/nio/file/Path;
      named rootPath Lnet/minecraft/data/DataOutput$PathResolver;rootPath:Ljava/nio/file/Path;
    • directoryName

      private final String directoryName
      Mappings:
      Namespace Name Mixin selector
      official b Lkm$a;b:Ljava/lang/String;
      intermediary field_39366 Lnet/minecraft/class_7784$class_7489;field_39366:Ljava/lang/String;
      named directoryName Lnet/minecraft/data/DataOutput$PathResolver;directoryName:Ljava/lang/String;
  • Constructor Details

    • PathResolver

      PathResolver(DataOutput dataGenerator, DataOutput.OutputType outputType, String directoryName)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkm$a;<init>(Lkm;Lkm$b;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7784$class_7489;<init>(Lnet/minecraft/class_7784;Lnet/minecraft/class_7784$class_7490;Ljava/lang/String;)V
      named <init> Lnet/minecraft/data/DataOutput$PathResolver;<init>(Lnet/minecraft/data/DataOutput;Lnet/minecraft/data/DataOutput$OutputType;Ljava/lang/String;)V
  • Method Details

    • resolve

      public Path resolve(Identifier id, String fileExtension)
      Mappings:
      Namespace Name Mixin selector
      official a Lkm$a;a(Lahg;Ljava/lang/String;)Ljava/nio/file/Path;
      intermediary method_44108 Lnet/minecraft/class_7784$class_7489;method_44108(Lnet/minecraft/class_2960;Ljava/lang/String;)Ljava/nio/file/Path;
      named resolve Lnet/minecraft/data/DataOutput$PathResolver;resolve(Lnet/minecraft/util/Identifier;Ljava/lang/String;)Ljava/nio/file/Path;
    • resolveJson

      public Path resolveJson(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lkm$a;a(Lahg;)Ljava/nio/file/Path;
      intermediary method_44107 Lnet/minecraft/class_7784$class_7489;method_44107(Lnet/minecraft/class_2960;)Ljava/nio/file/Path;
      named resolveJson Lnet/minecraft/data/DataOutput$PathResolver;resolveJson(Lnet/minecraft/util/Identifier;)Ljava/nio/file/Path;