Class EntityPropertiesLootCondition.Serializer

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

public static class EntityPropertiesLootCondition.Serializer extends Object implements JsonSerializer<EntityPropertiesLootCondition>
Mappings:
Namespace Name
official dmw$a
intermediary net/minecraft/class_215$class_216
named net/minecraft/loot/condition/EntityPropertiesLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, EntityPropertiesLootCondition entityPropertiesLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<EntityPropertiesLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Ldmw$a;a(Lcom/google/gson/JsonObject;Ldmw;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_919 Lnet/minecraft/class_215$class_216;method_919(Lcom/google/gson/JsonObject;Lnet/minecraft/class_215;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/EntityPropertiesLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/EntityPropertiesLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public EntityPropertiesLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<EntityPropertiesLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Ldmw$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldmw;
      intermediary method_920 Lnet/minecraft/class_215$class_216;method_920(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_215;
      named fromJson Lnet/minecraft/loot/condition/EntityPropertiesLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/EntityPropertiesLootCondition;