net.minecraft.world.level.storage.loot.predicates

public abstract class LootItemCondition$Serializer<T extends LootItemCondition>

crk$b
net.minecraft.world.level.storage.loot.predicates.LootItemCondition$Serializer
net.minecraft.class_209$class_211
net.minecraft.world.loot.condition.LootCondition$Factory
net.minecraft.world.storage.loot.conditions.ILootCondition$AbstractSerializer
net.minecraft.server.v1_14_R1.LootItemCondition$b

Field summary

Modifier and TypeField
private final ResourceLocation
a
name
field_1284
id
field_186606_a
private final Class<T>
b
clazz
field_1285
conditionClass
field_186607_b

Constructor summary

ModifierConstructor
protected (ResourceLocation id, Class<T> clazz)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getName()
method_894()
getId()
func_186602_a()
public Class<T>
b()
getPredicateClass()
method_897()
getConditionClass()
func_186604_b()
public abstract void
a(com.google.gson.JsonObject arg0, T arg1, com.google.gson.JsonSerializationContext arg2)
serialize(com.google.gson.JsonObject arg0, T arg1, com.google.gson.JsonSerializationContext arg2)
method_895(com.google.gson.JsonObject arg0, T arg1, com.google.gson.JsonSerializationContext arg2)
toJson(com.google.gson.JsonObject json, T condition, com.google.gson.JsonSerializationContext context)
func_186605_a(com.google.gson.JsonObject arg0, T arg1, com.google.gson.JsonSerializationContext arg2)
public abstract T
b(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
deserialize(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_896(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
fromJson(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
func_186603_b(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)