Class InvertedLootCondition.Serializer

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

public static class InvertedLootCondition.Serializer extends Object implements JsonSerializer<InvertedLootCondition>
Mappings:
Namespace Name
official dyi$a
intermediary net/minecraft/class_207$class_208
named net/minecraft/loot/condition/InvertedLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, InvertedLootCondition invertedLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<InvertedLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Ldyi$a;a(Lcom/google/gson/JsonObject;Ldyi;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_892 Lnet/minecraft/class_207$class_208;method_892(Lcom/google/gson/JsonObject;Lnet/minecraft/class_207;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/InvertedLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/InvertedLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public InvertedLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<InvertedLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Ldyi$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldyi;
      intermediary method_891 Lnet/minecraft/class_207$class_208;method_891(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_207;
      named fromJson Lnet/minecraft/loot/condition/InvertedLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/InvertedLootCondition;