Class NbtProvider

java.lang.Object
net.minecraft.data.dev.NbtProvider
All Implemented Interfaces:
DataProvider

public class NbtProvider extends Object implements DataProvider
Mappings:
Namespace Name
named net/minecraft/data/dev/NbtProvider
intermediary net/minecraft/class_2461
official pj
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/data/dev/NbtProvider;LOGGER:Lorg/slf4j/Logger;
      intermediary field_11450 Lnet/minecraft/class_2461;field_11450:Lorg/slf4j/Logger;
      official d Lpj;d:Lorg/slf4j/Logger;
    • paths

      private final Iterable<Path> paths
      Mappings:
      Namespace Name Mixin selector
      named paths Lnet/minecraft/data/dev/NbtProvider;paths:Ljava/lang/Iterable;
      intermediary field_40660 Lnet/minecraft/class_2461;field_40660:Ljava/lang/Iterable;
      official e Lpj;e:Ljava/lang/Iterable;
    • output

      private final DataOutput output
      Mappings:
      Namespace Name Mixin selector
      named output Lnet/minecraft/data/dev/NbtProvider;output:Lnet/minecraft/data/DataOutput;
      intermediary field_40661 Lnet/minecraft/class_2461;field_40661:Lnet/minecraft/class_7784;
      official f Lpj;f:Lly;
  • Constructor Details

    • NbtProvider

      public NbtProvider(DataOutput output, Collection<Path> paths)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/dev/NbtProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/Collection;)V
      intermediary <init> Lnet/minecraft/class_2461;<init>(Lnet/minecraft/class_7784;Ljava/util/Collection;)V
      official <init> Lpj;<init>(Lly;Ljava/util/Collection;)V
  • Method Details

    • run

      public CompletableFuture<?> run(DataWriter writer)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
      official a Llw;a(Llu;)Ljava/util/concurrent/CompletableFuture;
    • getName

      public final String getName()
      Specified by:
      getName in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;
      intermediary method_10321 Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
      official a Llw;a()Ljava/lang/String;
    • getLocation

      private static String getLocation(Path inputPath, Path filePath)
      Mappings:
      Namespace Name Mixin selector
      named getLocation Lnet/minecraft/data/dev/NbtProvider;getLocation(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/String;
      intermediary method_10496 Lnet/minecraft/class_2461;method_10496(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/String;
      official a Lpj;a(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/String;
    • convertNbtToSnbt

      @Nullable public static @Nullable Path convertNbtToSnbt(DataWriter writer, Path inputPath, String filename, Path outputPath)
      Mappings:
      Namespace Name Mixin selector
      named convertNbtToSnbt Lnet/minecraft/data/dev/NbtProvider;convertNbtToSnbt(Lnet/minecraft/data/DataWriter;Ljava/nio/file/Path;Ljava/lang/String;Ljava/nio/file/Path;)Ljava/nio/file/Path;
      intermediary method_10493 Lnet/minecraft/class_2461;method_10493(Lnet/minecraft/class_7403;Ljava/nio/file/Path;Ljava/lang/String;Ljava/nio/file/Path;)Ljava/nio/file/Path;
      official a Lpj;a(Llu;Ljava/nio/file/Path;Ljava/lang/String;Ljava/nio/file/Path;)Ljava/nio/file/Path;
    • writeTo

      public static void writeTo(DataWriter writer, Path path, String content) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named writeTo Lnet/minecraft/data/dev/NbtProvider;writeTo(Lnet/minecraft/data/DataWriter;Ljava/nio/file/Path;Ljava/lang/String;)V
      intermediary method_32234 Lnet/minecraft/class_2461;method_32234(Lnet/minecraft/class_7403;Ljava/nio/file/Path;Ljava/lang/String;)V
      official a Lpj;a(Llu;Ljava/nio/file/Path;Ljava/lang/String;)V