Package net.minecraft.data.dev
Class NbtProvider
java.lang.Object
net.minecraft.data.dev.NbtProvider
- All Implemented Interfaces:
DataProvider
- Mappings:
Namespace Name official mg
intermediary net/minecraft/class_2461
named net/minecraft/data/dev/NbtProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertNbtToSnbt
(DataWriter writer, Path inputPath, String filename, Path outputPath) private static String
getLocation
(Path inputPath, Path filePath) final String
getName()
run
(DataWriter writer) static void
writeTo
(DataWriter writer, Path path, String content)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Lmg;d:Lorg/slf4j/Logger;
intermediary field_11450
Lnet/minecraft/class_2461;field_11450:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/data/dev/NbtProvider;LOGGER:Lorg/slf4j/Logger;
-
paths
- Mappings:
Namespace Name Mixin selector official e
Lmg;e:Ljava/lang/Iterable;
intermediary field_40660
Lnet/minecraft/class_2461;field_40660:Ljava/lang/Iterable;
named paths
Lnet/minecraft/data/dev/NbtProvider;paths:Ljava/lang/Iterable;
-
output
- Mappings:
Namespace Name Mixin selector official f
Lmg;f:Ljk;
intermediary field_40661
Lnet/minecraft/class_2461;field_40661:Lnet/minecraft/class_7784;
named output
Lnet/minecraft/data/dev/NbtProvider;output:Lnet/minecraft/data/DataOutput;
-
-
Constructor Details
-
NbtProvider
- Mappings:
Namespace Name Mixin selector official <init>
Lmg;<init>(Ljk;Ljava/util/Collection;)V
intermediary <init>
Lnet/minecraft/class_2461;<init>(Lnet/minecraft/class_7784;Ljava/util/Collection;)V
named <init>
Lnet/minecraft/data/dev/NbtProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/Collection;)V
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Lji;a(Ljg;)Ljava/util/concurrent/CompletableFuture;
intermediary method_10319
Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
named run
Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
-
getName
- Specified by:
getName
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Lji;a()Ljava/lang/String;
intermediary method_10321
Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
named getName
Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;
-
getLocation
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(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;
named getLocation
Lnet/minecraft/data/dev/NbtProvider;getLocation(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 official a
Lmg;a(Ljg;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;
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;
-
writeTo
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ljg;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
named writeTo
Lnet/minecraft/data/dev/NbtProvider;writeTo(Lnet/minecraft/data/DataWriter;Ljava/nio/file/Path;Ljava/lang/String;)V
-