common • net.kernelpanicsoft.archie.data.common.crafting.ingredients • IACustomIngredient
IACustomIngredient
interface IACustomIngredientInterface that modders can implement to create new behaviors for Ingredients.
This is not directly implemented on vanilla Ingredients, but conversions are possible:
The format for custom ingredients is as follows:
`{
"fabric:type": "",
// extra ingredient data, dependent on the serializer
}
`
*#### See also
Inheritors
Properties
matchingStacks
abstract val matchingStacks: MutableList<ItemStack>requiresTesting
abstract val requiresTesting: BooleanReturns whether this ingredient always requires .test.
serializer
abstract val serializer: IACustomIngredientSerializer<*>vanilla
@get:ApiStatus.NonExtendableopen val vanilla: IngredientFunctions
test
Checks if a stack matches this ingredient. The stack must not be modified in any way.