Skip to content

net.kernelpanicsoft.archie.data.common.crafting.ingredients

Types

AAllIngredient

Custom ingredient that matches a stack only when every one of its sub-ingredients matches it. Build via of.

AAnyIngredient

Custom ingredient that matches a stack when at least one of its sub-ingredients matches it. Build via of.

ABuiltinIngredients

ACombinedIngredient

Base class for IACustomIngredients that combine multiple sub-ingredients, e.g. AAllIngredient (matches when every sub-ingredient matches) and AAnyIngredient (matches when any does).

AComponentsIngredient

Custom ingredient that matches stacks accepted by base and additionally requires their data components to match components (present components must equal the patch's value; absent components must stay absent). Build via of.

ACustomDataIngredient

Custom ingredient that matches stacks accepted by base whose minecraft:custom_data component NBT is matched by nbt (a partial/sub-tag match, not exact equality). Build via of.

IACustomIngredient

interface IACustomIngredient

Interface that modders can implement to create new recipe-matching behaviors beyond vanilla Ingredients, ported from Fabric's custom ingredient API to work cross-loader.

IACustomIngredientHolder

Implemented by the vanilla Ingredient produced from IACustomIngredient.vanilla, exposing the wrapped custom ingredient so it can be recovered from a vanilla Ingredient reference.

IACustomIngredientSerializer

Serializer for an IACustomIngredient of type T.