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 dvx$a
intermediary net/minecraft/class_5664$class_5665
named 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:
toJson
in interfaceJsonSerializing.ElementSerializer<ContextLootScoreProvider>
- Mappings:
Namespace Name Mixin selector official a
Ldvx$a;a(Ldvx;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.ElementSerializer<ContextLootScoreProvider>
- Mappings:
Namespace Name Mixin selector official b
Ldvx$a;b(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Ldvx;
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;
-