Package net.minecraft.util
Interface JsonSerializing.ElementSerializer<T>
- All Known Implementing Classes:
ConstantLootNumberProvider.CustomSerializer
,ContextLootNbtProvider.CustomSerializer
,ContextLootScoreProvider.CustomSerializer
- Enclosing class:
JsonSerializing
public static interface JsonSerializing.ElementSerializer<T>
- Mappings:
Namespace Name official drc$b
intermediary net/minecraft/class_5330$class_5332
named net/minecraft/util/JsonSerializing$ElementSerializer
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonElement json, JsonDeserializationContext context) toJson
(T object, JsonSerializationContext context)
-
Method Details
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Ldrc$b;a(Ljava/lang/Object;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
intermediary method_29309
Lnet/minecraft/class_5330$class_5332;method_29309(Ljava/lang/Object;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/util/JsonSerializing$ElementSerializer;toJson(Ljava/lang/Object;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Ldrc$b;a(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Ljava/lang/Object;
intermediary method_29308
Lnet/minecraft/class_5330$class_5332;method_29308(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Ljava/lang/Object;
named fromJson
Lnet/minecraft/util/JsonSerializing$ElementSerializer;fromJson(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Ljava/lang/Object;
-