Table of Contents

Class DecorFlags

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class DecorFlags
Inheritance
DecorFlags
Inherited Members

Fields

AlternateZOffset

If true, alternates z-offset vertexflag by 1 in odd/even XZ positions to reduce z-fighting (used e.g. for medium carpets overlaying neighbours)

public const int AlternateZOffset = 4

Field Value

int

DrawIfCulled

If true, do not cull even if parent face was culled (used e.g. for medium carpet, which stick out beyond the parent face)

public const int DrawIfCulled = 2

Field Value

int

HasSidedVariants

If true, this decor is removable using the players hands, without breaking the parent block

public const int HasSidedVariants = 32

Field Value

int

IsDecor

Set to 1 for all decor blocks, or else they will not be rendered. (This intentionally prevents unloaded / unknown decor blocks from rendering)

public const int IsDecor = 1

Field Value

int

NotFullFace

IF true, this decor is NOT (at least) a full opaque face so that the parent block face still needs to be drawn

public const int NotFullFace = 8

Field Value

int

Removable

If true, this decor is removable using the players hands, without breaking the parent block

public const int Removable = 16

Field Value

int