Skip to content

fabricnet.kernelpanicsoft.archie.data.common.crafting.ingredientsACustomIngredientPlatformFabricCustomIngredient

FabricCustomIngredient


class FabricCustomIngredient<T : IACustomIngredient>(val custom: T) : CustomIngredient, IACustomIngredientHolder<T> 

Constructors

FabricCustomIngredient

constructor(custom: T)

Properties

custom


open override val custom: T

Functions

getMatchingStacks


open override fun getMatchingStacks(): MutableList<ItemStack>

getSerializer


open override fun getSerializer(): CustomIngredientSerializer<*>

requiresTesting


open override fun requiresTesting(): Boolean

test


open override fun test(stack: ItemStack): Boolean

toVanilla


@ApiStatus.NonExtendableopen fun toVanilla(): Ingredient