Class TableBonusLootCondition.Serializer

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

public static class TableBonusLootCondition.Serializer extends Object implements JsonSerializer<TableBonusLootCondition>
Mappings:
Namespace Name
official duo$a
intermediary net/minecraft/class_182$class_183
named net/minecraft/loot/condition/TableBonusLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, TableBonusLootCondition tableBonusLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<TableBonusLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Lduo$a;a(Lcom/google/gson/JsonObject;Lduo;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_805 Lnet/minecraft/class_182$class_183;method_805(Lcom/google/gson/JsonObject;Lnet/minecraft/class_182;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/TableBonusLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/TableBonusLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public TableBonusLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<TableBonusLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Lduo$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lduo;
      intermediary method_804 Lnet/minecraft/class_182$class_183;method_804(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_182;
      named fromJson Lnet/minecraft/loot/condition/TableBonusLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/TableBonusLootCondition;