Skip to content

commonnet.kernelpanicsoft.archie.data.common.crafting.ingredientsAAnyIngredient

AAnyIngredient


Types

Companion


object Companion

Properties

ingredients


val ingredients: List<Ingredient>

matchingStacks


open override val matchingStacks: MutableList<ItemStack>

requiresTesting


open override val requiresTesting: Boolean

Returns whether this ingredient always requires .test.

serializer


vanilla


@get:ApiStatus.NonExtendableopen val vanilla: Ingredient

Functions

test


open override fun test(stack: ItemStack): Boolean

Checks if a stack matches this ingredient. The stack must not be modified in any way.