pylon-core
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
pylon-core
pylon-core
/
io.github.pylonmc.pylon.core.config.adapter
/
KeyedConfigAdapter
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
from
Getter
Link copied to clipboard
inline
fun
<
T
:
Keyed
>
fromGetter
(
crossinline
fromKey
:
(
NamespacedKey
)
->
T
)
:
ConfigAdapter
<
T
>
@
JvmStatic
fun
<
T
:
Keyed
>
fromGetter
(
clazz
:
Class
<
T
>
,
fromKey
:
(
NamespacedKey
)
->
T
)
:
ConfigAdapter
<
T
>
from
Registry
Link copied to clipboard
inline
fun
<
T
:
Keyed
>
fromRegistry
(
registry
:
PylonRegistry
<
T
>
)
:
ConfigAdapter
<
T
>
inline
fun
<
T
:
Keyed
>
fromRegistry
(
registry
:
Registry
<
T
>
)
:
ConfigAdapter
<
T
>
@
JvmStatic
fun
<
T
:
Keyed
>
fromRegistry
(
clazz
:
Class
<
T
>
,
registry
:
PylonRegistry
<
T
>
)
:
ConfigAdapter
<
T
>
@
JvmStatic
fun
<
T
:
Keyed
>
fromRegistry
(
clazz
:
Class
<
T
>
,
registry
:
Registry
<
T
>
)
:
ConfigAdapter
<
T
>