Companion

Functions

Link copied to clipboard
inline fun <T : Keyed> fromGetter(crossinline fromKey: (NamespacedKey) -> T): ConfigAdapter<T>
fun <T : Keyed> fromGetter(clazz: Class<T>, fromKey: (NamespacedKey) -> T): ConfigAdapter<T>
Link copied to clipboard
inline fun <T : Keyed> fromRegistry(registry: PylonRegistry<T>): ConfigAdapter<T>
inline fun <T : Keyed> fromRegistry(registry: Registry<T>): ConfigAdapter<T>
fun <T : Keyed> fromRegistry(clazz: Class<T>, registry: Registry<T>): ConfigAdapter<T>