Companion¶
object Companion
Functions¶
register¶
fun <T : IACustomIngredient> register(serializer: IACustomIngredientSerializer<T>)
Registers serializer under its identifier.
Throws
IllegalArgumentException-
if a serializer is already registered under that identifier