Class LayeredVoxelRecipe<T>
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
Creates a recipe using a 3D voxel-based system. Used for recipes types such as clayforming, smithing, or stone-knapping.
public abstract class LayeredVoxelRecipe<T> : RecipeBase<T>
Type Parameters
T
- Inheritance
-
RecipeBase<T>LayeredVoxelRecipe<T>
- Derived
- Inherited Members
Fields
Pattern (Required)
A 2D array of strings that are layered together to form the recipe. Use "#" for solid, and "_" or " " for a gap.
public string[][] Pattern
Field Value
- string[][]