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.
public class QuantityByGroup
- Inheritance
-
QuantityByGroup
- Inherited Members
- Extension Methods
Fields
Code
A wildcard asset location which can group many entities together.
public AssetLocation Code
Field Value
MaxQuantity
The maximum quantity for all entities that match the Code wildcard.
public int MaxQuantity