Class GridRecipeIngredient
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
An ingredient for a grid recipe.
public class GridRecipeIngredient : CraftingRecipeIngredient, IRecipeIngredient
- Inheritance
-
GridRecipeIngredient
- Implements
- Inherited Members
- Extension Methods
Fields
PatternCode
The character used in the grid recipe pattern that matches this ingredient. Generated when the recipe is loaded.
public string PatternCode
Field Value
Methods
FromBytes(BinaryReader, IWorldAccessor)
public override void FromBytes(BinaryReader reader, IWorldAccessor resolver)
Parameters
reader
BinaryReaderresolver
IWorldAccessor
ToBytes(BinaryWriter)
public override void ToBytes(BinaryWriter writer)
Parameters
writer
BinaryWriter