Table of Contents

Class TreeAttributeUtil

Namespace
Vintagestory.API.Datastructures
Assembly
VintagestoryAPI.dll
public static class TreeAttributeUtil
Inheritance
TreeAttributeUtil
Inherited Members

Methods

GetBlockPos(ITreeAttribute, string, BlockPos)

public static BlockPos GetBlockPos(this ITreeAttribute tree, string code, BlockPos defaultValue = null)

Parameters

tree ITreeAttribute
code string
defaultValue BlockPos

Returns

BlockPos

GetVec3i(ITreeAttribute, string, Vec3i)

public static Vec3i GetVec3i(this ITreeAttribute tree, string code, Vec3i defaultValue = null)

Parameters

tree ITreeAttribute
code string
defaultValue Vec3i

Returns

Vec3i

GetVec3is(ITreeAttribute, string, Vec3i[])

public static Vec3i[] GetVec3is(this ITreeAttribute tree, string code, Vec3i[] defaultValue = null)

Parameters

tree ITreeAttribute
code string
defaultValue Vec3i[]

Returns

Vec3i[]

SetBlockPos(ITreeAttribute, string, BlockPos)

public static void SetBlockPos(this ITreeAttribute tree, string code, BlockPos value)

Parameters

tree ITreeAttribute
code string
value BlockPos

SetVec3i(ITreeAttribute, string, Vec3i)

public static void SetVec3i(this ITreeAttribute tree, string code, Vec3i value)

Parameters

tree ITreeAttribute
code string
value Vec3i

SetVec3is(ITreeAttribute, string, Vec3i[])

public static void SetVec3is(this ITreeAttribute tree, string code, Vec3i[] value)

Parameters

tree ITreeAttribute
code string
value Vec3i[]