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 edh$bintermediary net/minecraft/class_5664$class_5666named net/minecraft/loot/provider/score/ContextLootScoreProvider$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) voidtoJson(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:
toJsonin interfaceJsonSerializer<ContextLootScoreProvider>- Mappings:
Namespace Name Mixin selector official aLedh$b;a(Lcom/google/gson/JsonObject;Ledh;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_32470Lnet/minecraft/class_5664$class_5666;method_32470(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5664;Lcom/google/gson/JsonSerializationContext;)Vnamed toJsonLnet/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:
fromJsonin interfaceJsonSerializer<ContextLootScoreProvider>- Mappings:
Namespace Name Mixin selector official bLedh$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ledh;intermediary method_32471Lnet/minecraft/class_5664$class_5666;method_32471(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5664;named fromJsonLnet/minecraft/loot/provider/score/ContextLootScoreProvider$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;
-