Class DamageSourcePropertiesLootCondition.Serializer

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

public static class DamageSourcePropertiesLootCondition.Serializer extends Object implements JsonSerializer<DamageSourcePropertiesLootCondition>
Mappings:
Namespace Name
official ecb$a
intermediary net/minecraft/class_190$class_191
named net/minecraft/loot/condition/DamageSourcePropertiesLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, DamageSourcePropertiesLootCondition damageSourcePropertiesLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<DamageSourcePropertiesLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Lecb$a;a(Lcom/google/gson/JsonObject;Lecb;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_838 Lnet/minecraft/class_190$class_191;method_838(Lcom/google/gson/JsonObject;Lnet/minecraft/class_190;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public DamageSourcePropertiesLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<DamageSourcePropertiesLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Lecb$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lecb;
      intermediary method_839 Lnet/minecraft/class_190$class_191;method_839(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_190;
      named fromJson Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition;