Table of Contents

Interface IRecipeIngredientBase

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

A minimal set of data for ItemStack matching; may include the ResolvedItemStack

public interface IRecipeIngredientBase
Extension Methods

Properties

AllowedVariants

string[]? AllowedVariants { get; set; }

Property Value

string[]

Code

AssetLocation? Code { get; set; }

Property Value

AssetLocation

MatchingType

EnumRecipeMatchType MatchingType { get; set; }

Property Value

EnumRecipeMatchType

ResolvedItemStack

ItemStack? ResolvedItemStack { get; set; }

Property Value

ItemStack

SkipVariants

string[]? SkipVariants { get; set; }

Property Value

string[]

Tags

ComplexTagCondition<TagSet> Tags { get; set; }

Property Value

ComplexTagCondition<TagSet>

Type

EnumItemClass Type { get; set; }

Property Value

EnumItemClass

Methods

SatisfiesAsIngredient(ItemStack, bool)

bool SatisfiesAsIngredient(ItemStack inputStack, bool checkStackSize = true)

Parameters

inputStack ItemStack
checkStackSize bool

Returns

bool