Table of Contents

Class GrindingProperties

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

Defines a set of properties that allow an object to be ground in a quern.

[DocumentAsJson]
public class GrindingProperties
Inheritance
GrindingProperties
Inherited Members
Extension Methods

Examples

"grindingProps": {
	"groundStack": {
		"type": "item",
		"code": "bonemeal"
	}
},

Fields

GroundStack

If set, the collectible is grindable in a quern and this is the resulting itemstack once the grinding time is over.

[DocumentAsJson]
public JsonItemStack GroundStack

Field Value

JsonItemStack

usedObsoleteNotation

public bool usedObsoleteNotation

Field Value

bool

Properties

GrindedStack

Obsolete. Please use GroundStack instead.

[DocumentAsJson]
[Obsolete("Use GroundStack instead")]
public JsonItemStack GrindedStack { get; set; }

Property Value

JsonItemStack

Methods

Clone()

Makes a deep copy of the properties.

public GrindingProperties Clone()

Returns

GrindingProperties