Table of Contents

Class BlockUpdate

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class BlockUpdate
Inheritance
BlockUpdate
Inherited Members
Extension Methods

Fields

ByStack

public ItemStack ByStack

Field Value

ItemStack

Decors

public List<DecorUpdate> Decors

Field Value

List<DecorUpdate>

ExchangeOnly

public bool ExchangeOnly

Field Value

bool

NewBlockEntityData

public byte[] NewBlockEntityData

Field Value

byte[]

NewFluidBlockId

If this value is negative, it indicates no change to the fluids layer block (neither air block nor anything else) because only the solid block is being updated

public int NewFluidBlockId

Field Value

int

NewSolidBlockId

If this value is negative, it indicates no change to the block (neither air block nor anything else) because only the fluid is being updated

public int NewSolidBlockId

Field Value

int

OldBlockEntityData

public byte[] OldBlockEntityData

Field Value

byte[]

OldBlockId

Contains either liquid layer of solid layer block

public int OldBlockId

Field Value

int

OldDecors

public List<DecorUpdate> OldDecors

Field Value

List<DecorUpdate>

OldFluidBlockId

Contains liquid layer of block

public int OldFluidBlockId

Field Value

int

Pos

public BlockPos Pos

Field Value

BlockPos