public static class EntityOnFire.Serializer extends EntityProperty.Serializer<EntityOnFire>
Modifier | Constructor and Description |
---|---|
protected |
Serializer() |
Modifier and Type | Method and Description |
---|---|
EntityOnFire |
deserialize(com.google.gson.JsonElement element,
com.google.gson.JsonDeserializationContext deserializationContext) |
com.google.gson.JsonElement |
serialize(EntityOnFire property,
com.google.gson.JsonSerializationContext serializationContext) |
getName, getPropertyClass
public com.google.gson.JsonElement serialize(EntityOnFire property, com.google.gson.JsonSerializationContext serializationContext)
serialize
in class EntityProperty.Serializer<EntityOnFire>
public EntityOnFire deserialize(com.google.gson.JsonElement element, com.google.gson.JsonDeserializationContext deserializationContext)
deserialize
in class EntityProperty.Serializer<EntityOnFire>