Package net.minecraft.resource.metadata
Interface ResourceMetadataSerializer<T>
- All Superinterfaces:
ResourceMetadataReader<T>
- All Known Implementing Classes:
PackResourceMetadataReader
- Mappings:
Namespace Name official ajw
intermediary net/minecraft/class_7677
named net/minecraft/resource/metadata/ResourceMetadataSerializer
-
Method Summary
Methods inherited from interface net.minecraft.resource.metadata.ResourceMetadataReader
fromJson, getKey
-
Method Details
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lajw;a(Ljava/lang/Object;)Lcom/google/gson/JsonObject;
intermediary method_45251
Lnet/minecraft/class_7677;method_45251(Ljava/lang/Object;)Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;toJson(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 official a
Lajw;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lajw;
intermediary method_45252
Lnet/minecraft/class_7677;method_45252(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_7677;
named fromCodec
Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;fromCodec(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;
-