ShapelessRecipe

class ShapelessRecipe(val id: Identifier, ingredients: List<Pair<Identifier, Int>>, result: MacrocosmItem, amount: Int) : MacrocosmRecipe(source)

Constructors

Link copied to clipboard
constructor(id: Identifier, ingredients: List<Pair<Identifier, Int>>, result: MacrocosmItem, amount: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun assemble(ctx: RecipeContext, player: MacrocosmPlayer): ItemStack
Link copied to clipboard
open override fun ingredients(): List<List<Pair<Identifier, Int>>>
Link copied to clipboard
open override fun matches(player: MacrocosmPlayer, inv: Inventory, grid: List<ItemStack?>, modify: Boolean): Pair<Boolean, HashMap<Int, Pair<ItemStack, Int>>>
Link copied to clipboard
open override fun resultItem(): ItemStack
Link copied to clipboard
open override fun resultMacrocosm(): MacrocosmItem

Properties

Link copied to clipboard
open override val id: Identifier