Class ContextLootScoreProvider.Serializer
java.lang.Object
net.minecraft.loot.provider.score.ContextLootScoreProvider.Serializer
- All Implemented Interfaces:
JsonSerializer<ContextLootScoreProvider>
- Enclosing class:
ContextLootScoreProvider
public static class ContextLootScoreProvider.Serializer
extends Object
implements JsonSerializer<ContextLootScoreProvider>
- Mappings:
Namespace Name official dvx$b
intermediary net/minecraft/class_5664$class_5666
named net/minecraft/loot/provider/score/ContextLootScoreProvider$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) void
toJson
(JsonObject jsonObject, ContextLootScoreProvider contextLootScoreProvider, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, ContextLootScoreProvider contextLootScoreProvider, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<ContextLootScoreProvider>
- Mappings:
Namespace Name Mixin selector official a
Ldvx$b;a(Lcom/google/gson/JsonObject;Ldvx;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_32470
Lnet/minecraft/class_5664$class_5666;method_32470(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5664;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/provider/score/ContextLootScoreProvider$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public ContextLootScoreProvider fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) - Specified by:
fromJson
in interfaceJsonSerializer<ContextLootScoreProvider>
- Mappings:
Namespace Name Mixin selector official b
Ldvx$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldvx;
intermediary method_32471
Lnet/minecraft/class_5664$class_5666;method_32471(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5664;
named fromJson
Lnet/minecraft/loot/provider/score/ContextLootScoreProvider$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;
-