Skip to content

commonnet.kernelpanicsoft.archie.data.common.crafting.ingredientsACustomDataIngredient

ACustomDataIngredient


Types

Companion


object Companion

Serializer


Properties

base


val base: Ingredient

matchingStacks


open override val matchingStacks: MutableList<ItemStack>

nbt


val nbt: CompoundTag

requiresTesting


open override val requiresTesting: Boolean = true

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.