Package net.minecraft.resource.metadata
Interface ResourceMetadataSerializer<T>
- All Superinterfaces:
ResourceMetadataReader<T>
- Mappings:
Namespace Name named net/minecraft/resource/metadata/ResourceMetadataSerializer
intermediary net/minecraft/class_7677
official atp
-
Method Summary
Methods inherited from interface net.minecraft.resource.metadata.ResourceMetadataReader
fromJson, getKey
-
Method Details
-
toJson
- Mappings:
Namespace Name Mixin selector named toJson
Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;toJson(Ljava/lang/Object;)Lcom/google/gson/JsonObject;
intermediary method_45251
Lnet/minecraft/class_7677;method_45251(Ljava/lang/Object;)Lcom/google/gson/JsonObject;
official a
Latp;a(Ljava/lang/Object;)Lcom/google/gson/JsonObject;
-
fromCodec
static <T> ResourceMetadataSerializer<T> fromCodec(String key, com.mojang.serialization.Codec<T> codec) - Mappings:
Namespace Name Mixin selector named fromCodec
Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;fromCodec(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;
intermediary method_45252
Lnet/minecraft/class_7677;method_45252(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_7677;
official a
Latp;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Latp;
-