blocked

fun blocked(flags: Array<IntArray>): Boolean

Checks whether or not the collision flags for the current tile contains any of the default blocking flags.

Return

true if current tile does not contain any of the default block flags

Parameters

collisionMap

provide the collisionMap such that it can be cached in the org.powbot.walking.local.LocalPathFinder or any script

fun blocked(flags: Array<IntArray>, blockFlag: Int): Boolean

Checks whether or not the collision flags for the current tile contains any of the default or provided blocking flags.

Return

true if current tile does not contain any of the default or provided block flags

Parameters

collisionMap

provide the collisionMap such that it can be cached in the org.powbot.walking.local.LocalPathFinder or any script.

blockFlag

provide the flag to check the current tile's collisionFlags against