Class BarrelOutputStack
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
Defines an output for use in a BarrelRecipe. This object takes most of its properties from the JsonItemStack class.
public class BarrelOutputStack : JsonItemStack
- Inheritance
-
BarrelOutputStack
- Inherited Members
Examples
"output": {
"type": "item",
"code": "leather-normal-plain",
"stackSize": 3
}
"output": {
"type": "item",
"code": "weaktanninportion",
"litres": 10
}
Fields
Litres (Optional) (Default: 0)
If this output is a liquid, this should be used instead of StackSize to define quantity.
public float Litres