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 dia$b
intermediary net/minecraft/class_5664$class_5666
named net/minecraft/loot/provider/score/ContextLootScoreProvider$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson​(JsonObject jsonObject, ContextLootScoreProvider contextLootScoreProvider, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<ContextLootScoreProvider>
      Mappings:
      Namespace Name Mixin selector
      official a Ldia$b;a(Lcom/google/gson/JsonObject;Ldia;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 interface JsonSerializer<ContextLootScoreProvider>
      Mappings:
      Namespace Name Mixin selector
      official b Ldia$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldia;
      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;