RecipeType

Serves as a registry and container for recipes of a specific type.

Iteration order will be the order in which recipes were added unless overridden. You should never assume that the list of recipes is static, as recipes may be added or removed at any time.

Inheritors

Constructors

Link copied to clipboard
constructor(key: NamespacedKey)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun addRecipe(recipe: T)
Link copied to clipboard
open override fun getKey(): NamespacedKey
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun iterator(): Iterator<T>
Link copied to clipboard
open override fun key(): @NotNull Key
Link copied to clipboard
fun register()
Link copied to clipboard
open fun removeRecipe(recipe: NamespacedKey)
Link copied to clipboard
fun stream(): Stream<T>