common • net.kernelpanicsoft.archie.data.common.crafting.ingredients • ACombinedIngredient
ACombinedIngredient
abstract class ACombinedIngredient : IACustomIngredientBase class for ALL and ANY ingredients.
Inheritors
Types
Serializer
class Serializer<I : ACombinedIngredient>(val identifier: ResourceLocation, factory: Function<List<Ingredient>, I>, allowEmptyCodec: MapCodec<I>, disallowEmptyCodec: MapCodec<I>) : IACustomIngredientSerializer<I> Properties
ingredients
val ingredients: List<Ingredient>matchingStacks
abstract val matchingStacks: MutableList<ItemStack>requiresTesting
open override 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.