Table of Contents

Class QuantityByGroup

Namespace
Vintagestory.API.Common.Entities
Assembly
VintagestoryAPI.dll

Allows you to control spawn limits based on a set of entity codes using a wildcard. Open in GitHub

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

Fields

Code

A wildcard asset location which can group many entities together.

[DocumentAsJson]
public AssetLocation Code

Field Value

AssetLocation

MaxQuantity

The maximum quantity for all entities that match the Code wildcard.

[DocumentAsJson]
public int MaxQuantity

Field Value

int