public class EntityPropertyManager
extends java.lang.Object
Constructor and Description |
---|
EntityPropertyManager() |
Modifier and Type | Method and Description |
---|---|
static <T extends EntityProperty> |
getSerializerFor(T property) |
static EntityProperty.Serializer<?> |
getSerializerForName(ResourceLocation name) |
static <T extends EntityProperty> |
registerProperty(EntityProperty.Serializer<? extends T> serializer) |
public static <T extends EntityProperty> void registerProperty(EntityProperty.Serializer<? extends T> serializer)
public static EntityProperty.Serializer<?> getSerializerForName(ResourceLocation name)
public static <T extends EntityProperty> EntityProperty.Serializer<T> getSerializerFor(T property)