Package net.minecraft.data
Class MetadataProvider
java.lang.Object
net.minecraft.data.MetadataProvider
- All Implemented Interfaces:
DataProvider
- Mappings:
Namespace Name named net/minecraft/data/MetadataProvider
intermediary net/minecraft/class_7796
official np
-
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 named output
Lnet/minecraft/data/MetadataProvider;output:Lnet/minecraft/data/DataOutput;
intermediary field_40619
Lnet/minecraft/class_7796;field_40619:Lnet/minecraft/class_7784;
official d
Lnp;d:Lly;
-
metadata
- Mappings:
Namespace Name Mixin selector named metadata
Lnet/minecraft/data/MetadataProvider;metadata:Ljava/util/Map;
intermediary field_40620
Lnet/minecraft/class_7796;field_40620:Ljava/util/Map;
official e
Lnp;e:Ljava/util/Map;
-
-
Constructor Details
-
MetadataProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/data/MetadataProvider;<init>(Lnet/minecraft/data/DataOutput;)V
intermediary <init>
Lnet/minecraft/class_7796;<init>(Lnet/minecraft/class_7784;)V
official <init>
Lnp;<init>(Lly;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/data/MetadataProvider;add(Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;Ljava/lang/Object;)Lnet/minecraft/data/MetadataProvider;
intermediary method_46185
Lnet/minecraft/class_7796;method_46185(Lnet/minecraft/class_7677;Ljava/lang/Object;)Lnet/minecraft/class_7796;
official a
Lnp;a(Latp;Ljava/lang/Object;)Lnp;
-
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
Llw;a(Llu;)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
Llw;a()Ljava/lang/String;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/MetadataProvider;create(Lnet/minecraft/data/DataOutput;Lnet/minecraft/text/Text;)Lnet/minecraft/data/MetadataProvider;
intermediary method_46812
Lnet/minecraft/class_7796;method_46812(Lnet/minecraft/class_7784;Lnet/minecraft/class_2561;)Lnet/minecraft/class_7796;
official a
Lnp;a(Lly;Lxp;)Lnp;
-
create
public static MetadataProvider create(DataOutput output, Text description, FeatureSet requiredFeatures) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/MetadataProvider;create(Lnet/minecraft/data/DataOutput;Lnet/minecraft/text/Text;Lnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/data/MetadataProvider;
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;
official a
Lnp;a(Lly;Lxp;Lcpn;)Lnp;
-