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.recipe
/
ConfigurableRecipeType
Configurable
Recipe
Type
abstract
class
ConfigurableRecipeType
<
T
:
PylonRecipe
>
(
key
:
NamespacedKey
)
:
RecipeType
<
T
>
(
source
)
Inheritors
VanillaRecipeType
Members
Constructors
Configurable
Recipe
Type
Link copied to clipboard
constructor
(
key
:
NamespacedKey
)
Properties
recipes
Link copied to clipboard
val
recipes
:
Collection
<
T
>
Functions
add
Recipe
Link copied to clipboard
open
fun
addRecipe
(
recipe
:
T
)
get
Key
Link copied to clipboard
open
override
fun
getKey
(
)
:
NamespacedKey
get
Recipe
Link copied to clipboard
fun
getRecipe
(
key
:
NamespacedKey
)
:
T
?
get
Recipe
Or
Throw
Link copied to clipboard
fun
getRecipeOrThrow
(
key
:
NamespacedKey
)
:
T
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
T
>
key
Link copied to clipboard
open
override
fun
key
(
)
:
@
NotNull
Key
load
From
Config
Link copied to clipboard
open
fun
loadFromConfig
(
config
:
ConfigSection
)
register
Link copied to clipboard
fun
register
(
)
remove
Recipe
Link copied to clipboard
open
fun
removeRecipe
(
recipe
:
NamespacedKey
)
stream
Link copied to clipboard
fun
stream
(
)
:
Stream
<
T
>