public abstract static class LootCondition.Serializer<T extends LootCondition>
extends java.lang.Object
| Modifier | Constructor and Description | 
|---|---|
protected  | 
Serializer(ResourceLocation location,
          java.lang.Class<T> clazz)  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract T | 
deserialize(com.google.gson.JsonObject json,
           com.google.gson.JsonDeserializationContext context)  | 
java.lang.Class<T> | 
getConditionClass()  | 
ResourceLocation | 
getLootTableLocation()  | 
abstract void | 
serialize(com.google.gson.JsonObject json,
         T value,
         com.google.gson.JsonSerializationContext context)  | 
protected Serializer(ResourceLocation location, java.lang.Class<T> clazz)
public ResourceLocation getLootTableLocation()
public java.lang.Class<T> getConditionClass()
public abstract void serialize(com.google.gson.JsonObject json,
                               T value,
                               com.google.gson.JsonSerializationContext context)
public abstract T deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)