Class MatchToolLootCondition.Serializer

java.lang.Object
net.minecraft.loot.condition.MatchToolLootCondition.Serializer
All Implemented Interfaces:
JsonSerializer<MatchToolLootCondition>
Enclosing class:
MatchToolLootCondition

public static class MatchToolLootCondition.Serializer extends Object implements JsonSerializer<MatchToolLootCondition>
Mappings:
Namespace Name
official doc$a
intermediary net/minecraft/class_223$class_224
named net/minecraft/loot/condition/MatchToolLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, MatchToolLootCondition matchToolLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<MatchToolLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Ldoc$a;a(Lcom/google/gson/JsonObject;Ldoc;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_948 Lnet/minecraft/class_223$class_224;method_948(Lcom/google/gson/JsonObject;Lnet/minecraft/class_223;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/MatchToolLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/MatchToolLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public MatchToolLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<MatchToolLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Ldoc$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldoc;
      intermediary method_949 Lnet/minecraft/class_223$class_224;method_949(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_223;
      named fromJson Lnet/minecraft/loot/condition/MatchToolLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/MatchToolLootCondition;