Class ContextLootScoreProvider.CustomSerializer
java.lang.Object
net.minecraft.loot.provider.score.ContextLootScoreProvider.CustomSerializer
- All Implemented Interfaces:
JsonSerializing.ElementSerializer<ContextLootScoreProvider>
- Enclosing class:
ContextLootScoreProvider
public static class ContextLootScoreProvider.CustomSerializer
extends Object
implements JsonSerializing.ElementSerializer<ContextLootScoreProvider>
- Mappings:
Namespace Name official edh$aintermediary net/minecraft/class_5664$class_5665named net/minecraft/loot/provider/score/ContextLootScoreProvider$CustomSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromJson(JsonElement jsonElement, JsonDeserializationContext jsonDeserializationContext) toJson(ContextLootScoreProvider contextLootScoreProvider, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
CustomSerializer
public CustomSerializer()
-
-
Method Details
-
toJson
public JsonElement toJson(ContextLootScoreProvider contextLootScoreProvider, JsonSerializationContext jsonSerializationContext) - Specified by:
toJsonin interfaceJsonSerializing.ElementSerializer<ContextLootScoreProvider>- Mappings:
Namespace Name Mixin selector official aLedh$a;a(Ledh;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;intermediary method_32468Lnet/minecraft/class_5664$class_5665;method_32468(Lnet/minecraft/class_5664;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;named toJsonLnet/minecraft/loot/provider/score/ContextLootScoreProvider$CustomSerializer;toJson(Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-
fromJson
public ContextLootScoreProvider fromJson(JsonElement jsonElement, JsonDeserializationContext jsonDeserializationContext) - Specified by:
fromJsonin interfaceJsonSerializing.ElementSerializer<ContextLootScoreProvider>- Mappings:
Namespace Name Mixin selector official bLedh$a;b(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Ledh;intermediary method_32469Lnet/minecraft/class_5664$class_5665;method_32469(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5664;named fromJsonLnet/minecraft/loot/provider/score/ContextLootScoreProvider$CustomSerializer;fromJson(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;
-