Package net.minecraft.data
Class SnbtProvider
java.lang.Object
net.minecraft.data.SnbtProvider
- All Implemented Interfaces:
DataProvider
- Mappings:
Namespace Name named net/minecraft/data/SnbtProvider
intermediary net/minecraft/class_2463
official ph
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
private static class
static interface
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Logger
private final DataOutput
private final List
<SnbtProvider.Tweaker> Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddWriter
(SnbtProvider.Tweaker tweaker) private String
getFileName
(Path root, Path file) final String
getName()
run
(DataWriter writer) private SnbtProvider.CompressedData
toCompressedNbt
(Path path, String name) private NbtCompound
write
(String key, NbtCompound compound) private void
write
(DataWriter cache, SnbtProvider.CompressedData data, Path root)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/data/SnbtProvider;LOGGER:Lorg/slf4j/Logger;
intermediary field_11454
Lnet/minecraft/class_2463;field_11454:Lorg/slf4j/Logger;
official d
Lph;d:Lorg/slf4j/Logger;
-
output
- Mappings:
Namespace Name Mixin selector named output
Lnet/minecraft/data/SnbtProvider;output:Lnet/minecraft/data/DataOutput;
intermediary field_40662
Lnet/minecraft/class_2463;field_40662:Lnet/minecraft/class_7784;
official e
Lph;e:Lmc;
-
paths
- Mappings:
Namespace Name Mixin selector named paths
Lnet/minecraft/data/SnbtProvider;paths:Ljava/lang/Iterable;
intermediary field_40663
Lnet/minecraft/class_2463;field_40663:Ljava/lang/Iterable;
official f
Lph;f:Ljava/lang/Iterable;
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/data/SnbtProvider;write:Ljava/util/List;
intermediary field_20309
Lnet/minecraft/class_2463;field_20309:Ljava/util/List;
official g
Lph;g:Ljava/util/List;
-
-
Constructor Details
-
SnbtProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/data/SnbtProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/lang/Iterable;)V
intermediary <init>
Lnet/minecraft/class_2463;<init>(Lnet/minecraft/class_7784;Ljava/lang/Iterable;)V
official <init>
Lph;<init>(Lmc;Ljava/lang/Iterable;)V
-
-
Method Details
-
addWriter
- Mappings:
Namespace Name Mixin selector named addWriter
Lnet/minecraft/data/SnbtProvider;addWriter(Lnet/minecraft/data/SnbtProvider$Tweaker;)Lnet/minecraft/data/SnbtProvider;
intermediary method_21672
Lnet/minecraft/class_2463;method_21672(Lnet/minecraft/class_2463$class_4460;)Lnet/minecraft/class_2463;
official a
Lph;a(Lph$a;)Lph;
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/data/SnbtProvider;write(Ljava/lang/String;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_21673
Lnet/minecraft/class_2463;method_21673(Ljava/lang/String;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
official a
Lph;a(Ljava/lang/String;Lub;)Lub;
-
run
- Specified by:
run
in interfaceDataProvider
- 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
Lma;a(Lly;)Ljava/util/concurrent/CompletableFuture;
-
getName
- Specified by:
getName
in interfaceDataProvider
- 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
Lma;a()Ljava/lang/String;
-
getFileName
- Mappings:
Namespace Name Mixin selector named getFileName
Lnet/minecraft/data/SnbtProvider;getFileName(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/String;
intermediary method_10500
Lnet/minecraft/class_2463;method_10500(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/String;
official a
Lph;a(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/String;
-
toCompressedNbt
- Mappings:
Namespace Name Mixin selector named toCompressedNbt
Lnet/minecraft/data/SnbtProvider;toCompressedNbt(Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/data/SnbtProvider$CompressedData;
intermediary method_22144
Lnet/minecraft/class_2463;method_22144(Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/class_2463$class_4511;
official a
Lph;a(Ljava/nio/file/Path;Ljava/lang/String;)Lph$c;
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/data/SnbtProvider;write(Lnet/minecraft/data/DataWriter;Lnet/minecraft/data/SnbtProvider$CompressedData;Ljava/nio/file/Path;)V
intermediary method_10497
Lnet/minecraft/class_2463;method_10497(Lnet/minecraft/class_7403;Lnet/minecraft/class_2463$class_4511;Ljava/nio/file/Path;)V
official a
Lph;a(Lly;Lph$c;Ljava/nio/file/Path;)V
-