public static <T> DataSerializer<T> getByClass(final Class<T> type) { return serializerMap.get(type); }
public static <T extends Enum<T>> DataSerializer<T> createForEnum(Class<T> type) { return new EnumSerial<T>(type); }
public EntityRegistryEntry<E> registerDataSerializers(DataSerializer<?>... serializers) { for(DataSerializer<?> serializer : serializers) { DataSerializers.registerSerializer(serializer); } return this; }