public abstract static class StandaloneLootEntry.Serializer<T extends StandaloneLootEntry> extends LootEntry.Serializer<T>
Constructor and Description |
---|
Serializer(ResourceLocation p_i50483_1_,
java.lang.Class<T> p_i50483_2_) |
Modifier and Type | Method and Description |
---|---|
T |
deserialize(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context,
ILootCondition[] conditionsIn) |
protected abstract T |
func_212829_b_(com.google.gson.JsonObject p_212829_1_,
com.google.gson.JsonDeserializationContext p_212829_2_,
int p_212829_3_,
int p_212829_4_,
ILootCondition[] p_212829_5_,
ILootFunction[] p_212829_6_) |
void |
serialize(com.google.gson.JsonObject json,
T entryIn,
com.google.gson.JsonSerializationContext context) |
func_216182_a, func_216183_b
public Serializer(ResourceLocation p_i50483_1_, java.lang.Class<T> p_i50483_2_)
public void serialize(com.google.gson.JsonObject json, T entryIn, com.google.gson.JsonSerializationContext context)
serialize
in class LootEntry.Serializer<T extends StandaloneLootEntry>
public final T deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context, ILootCondition[] conditionsIn)
deserialize
in class LootEntry.Serializer<T extends StandaloneLootEntry>
protected abstract T func_212829_b_(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_)