Table of Contents

Class EntityBehaviorPlaceBlock

Namespace
Vintagestory.GameContent
Assembly
VSEssentials.dll

Allows an entity to randomly place blocks nearby over time.
Uses the "placeblock" code
Currently not used. Open in GitHub

[DocumentAsJson]
[AddDocumentationProperty("blockCodes", "A list of blocks that can be randomly placed by this entity", "System.String[]", "Optional", "None", false)]
public class EntityBehaviorPlaceBlock : EntityBehavior
Inheritance
EntityBehaviorPlaceBlock

Fields

blockCodes (Optional) (Default: None)

A list of blocks that can be randomly placed by this entity

Field Value

String[]

MaxHourDelay (Optional) (Default: 360)

Maximum in-game hours between block placements

[DocumentAsJson("Optional", "360", false)]
internal float MaxHourDelay { get; }

Field Value

float

MinHourDelay (Optional) (Default: 192)

Minimum in-game hours between block placements

[DocumentAsJson("Optional", "192", false)]
internal float MinHourDelay { get; }

Field Value

float