Package net.minecraft.data
Class MetadataProvider
java.lang.Object
net.minecraft.data.MetadataProvider
- All Implemented Interfaces:
DataProvider
- Mappings:
Namespace Name official ko
intermediary net/minecraft/class_7796
named net/minecraft/data/MetadataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<String,
Supplier<JsonElement>> private final DataOutput
Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR, LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> MetadataProvider
add
(ResourceMetadataSerializer<T> serializer, T metadata) static MetadataProvider
create
(DataOutput output, Text description) static MetadataProvider
create
(DataOutput output, Text description, FeatureSet requiredFeatures) final String
getName()
run
(DataWriter writer)
-
Field Details
-
output
- Mappings:
Namespace Name Mixin selector official d
Lko;d:Ljk;
intermediary field_40619
Lnet/minecraft/class_7796;field_40619:Lnet/minecraft/class_7784;
named output
Lnet/minecraft/data/MetadataProvider;output:Lnet/minecraft/data/DataOutput;
-
metadata
- Mappings:
Namespace Name Mixin selector official e
Lko;e:Ljava/util/Map;
intermediary field_40620
Lnet/minecraft/class_7796;field_40620:Ljava/util/Map;
named metadata
Lnet/minecraft/data/MetadataProvider;metadata:Ljava/util/Map;
-
-
Constructor Details
-
MetadataProvider
- Mappings:
Namespace Name Mixin selector official <init>
Lko;<init>(Ljk;)V
intermediary <init>
Lnet/minecraft/class_7796;<init>(Lnet/minecraft/class_7784;)V
named <init>
Lnet/minecraft/data/MetadataProvider;<init>(Lnet/minecraft/data/DataOutput;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector official a
Lko;a(Lajy;Ljava/lang/Object;)Lko;
intermediary method_46185
Lnet/minecraft/class_7796;method_46185(Lnet/minecraft/class_7677;Ljava/lang/Object;)Lnet/minecraft/class_7796;
named add
Lnet/minecraft/data/MetadataProvider;add(Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;Ljava/lang/Object;)Lnet/minecraft/data/MetadataProvider;
-
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;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lko;a(Ljk;Lsw;)Lko;
intermediary method_46812
Lnet/minecraft/class_7796;method_46812(Lnet/minecraft/class_7784;Lnet/minecraft/class_2561;)Lnet/minecraft/class_7796;
named create
Lnet/minecraft/data/MetadataProvider;create(Lnet/minecraft/data/DataOutput;Lnet/minecraft/text/Text;)Lnet/minecraft/data/MetadataProvider;
-
create
public static MetadataProvider create(DataOutput output, Text description, FeatureSet requiredFeatures) - Mappings:
Namespace Name Mixin selector official a
Lko;a(Ljk;Lsw;Lcaw;)Lko;
intermediary method_46187
Lnet/minecraft/class_7796;method_46187(Lnet/minecraft/class_7784;Lnet/minecraft/class_2561;Lnet/minecraft/class_7699;)Lnet/minecraft/class_7796;
named create
Lnet/minecraft/data/MetadataProvider;create(Lnet/minecraft/data/DataOutput;Lnet/minecraft/text/Text;Lnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/data/MetadataProvider;
-