Table of Contents

Interface IDrawYAdjustable

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

Used for blocks (e.g. crops and dead crops) where the y-position might need to be adjusted at the time of tesselating an individual block

public interface IDrawYAdjustable
Extension Methods

Methods

AdjustYPosition(BlockPos, Block[], int)

float AdjustYPosition(BlockPos pos, Block[] chunkExtBlocks, int extIndex3d)

Parameters

pos BlockPos
chunkExtBlocks Block[]
extIndex3d int

Returns

float