Class ContextLootScoreProvider.CustomSerializer
java.lang.Object
net.minecraft.loot.provider.score.ContextLootScoreProvider.CustomSerializer
- All Implemented Interfaces:
JsonSerializing.CustomSerializer<ContextLootScoreProvider>
- Enclosing class:
- ContextLootScoreProvider
public static class ContextLootScoreProvider.CustomSerializer
extends Object
implements JsonSerializing.CustomSerializer<ContextLootScoreProvider>
- Mappings:
Namespace Name official dmh$a
intermediary net/minecraft/class_5664$class_5665
named net/minecraft/loot/provider/score/ContextLootScoreProvider$CustomSerializer
-
Constructor Summary
-
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:
toJson
in interfaceJsonSerializing.CustomSerializer<ContextLootScoreProvider>
- Mappings:
Namespace Name Mixin selector official a
Ldmh$a;a(Ldmh;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
intermediary method_32468
Lnet/minecraft/class_5664$class_5665;method_32468(Lnet/minecraft/class_5664;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
named toJson
Lnet/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:
fromJson
in interfaceJsonSerializing.CustomSerializer<ContextLootScoreProvider>
- Mappings:
Namespace Name Mixin selector official b
Ldmh$a;b(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Ldmh;
intermediary method_32469
Lnet/minecraft/class_5664$class_5665;method_32469(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5664;
named fromJson
Lnet/minecraft/loot/provider/score/ContextLootScoreProvider$CustomSerializer;fromJson(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;
-