Table of Contents

Class PathfinderTask

Namespace
Vintagestory.API.Server
Assembly
VintagestoryAPI.dll
public class PathfinderTask
Inheritance
PathfinderTask
Inherited Members
Extension Methods

Constructors

PathfinderTask(BlockPos, BlockPos, int, float, Cuboidf, int, int, EnumAICreatureType)

public PathfinderTask(BlockPos startBlockPos, BlockPos targetBlockPos, int maxFallHeight, float stepHeight, Cuboidf collisionBox, int searchDepth, int mhdistanceTolerance = 0, EnumAICreatureType creatureType = EnumAICreatureType.Default)

Parameters

startBlockPos BlockPos
targetBlockPos BlockPos
maxFallHeight int
stepHeight float
collisionBox Cuboidf
searchDepth int
mhdistanceTolerance int
creatureType EnumAICreatureType

Fields

CreatureType

public EnumAICreatureType CreatureType

Field Value

EnumAICreatureType

Finished

public bool Finished

Field Value

bool

collisionBox

public Cuboidf collisionBox

Field Value

Cuboidf

maxFallHeight

public int maxFallHeight

Field Value

int

mhdistanceTolerance

public int mhdistanceTolerance

Field Value

int

searchDepth

public int searchDepth

Field Value

int

startBlockPos

public BlockPos startBlockPos

Field Value

BlockPos

stepHeight

public float stepHeight

Field Value

float

targetBlockPos

public BlockPos targetBlockPos

Field Value

BlockPos

waypoints

public List<Vec3d> waypoints

Field Value

List<Vec3d>