Minix
5.0.0-alpha
module-data
/
dev.racci.minix.data.serializers.kotlin.recipes
/
SerializableRecipe
Serializable
Recipe
@
Serializable
@
ConfigSerializable
class
SerializableRecipe
(
val
key
:
Key
,
val
ingredients
:
SerializableRecipeIngredients
,
val
result
:
ItemStack
,
val
group
:
String
=
""
)
Constructors
Functions
Properties
Constructors
Serializable
Recipe
Link copied to clipboard
fun
SerializableRecipe
(
key
:
Key
,
ingredients
:
SerializableRecipeIngredients
,
result
:
ItemStack
,
group
:
String
=
""
)
Functions
to
Crafting
Recipe
Link copied to clipboard
fun
toCraftingRecipe
(
)
:
Recipe
Properties
group
Link copied to clipboard
val
group
:
String
ingredients
Link copied to clipboard
val
ingredients
:
SerializableRecipeIngredients
key
Link copied to clipboard
val
key
:
Key
result
Link copied to clipboard
@
Serializable
(
with
=
ItemStackSerializer::class
)
val
result
:
ItemStack