DirectPathGoal

open class DirectPathGoal : MoveTowardsRestrictionGoal

Goal used in FORCED_PATH movement.

Constructors

DirectPathGoal
Link copied to clipboard
open fun DirectPathGoal(mob: PathfinderMob, speed: Double)

Functions

canUse
Link copied to clipboard
open fun canUse(): Boolean
start
Link copied to clipboard
open fun start()
Starts moving mob directly to its target.

Inherited functions

canContinueToUse
Link copied to clipboard
open fun canContinueToUse(): Boolean
getFlags
Link copied to clipboard
open fun getFlags(): EnumSet<Goal.Flag>
isInterruptable
Link copied to clipboard
open fun isInterruptable(): Boolean
requiresUpdateEveryTick
Link copied to clipboard
open fun requiresUpdateEveryTick(): Boolean
setFlags
Link copied to clipboard
open fun setFlags(enumSet: EnumSet<Goal.Flag>)
stop
Link copied to clipboard
open fun stop()
tick
Link copied to clipboard
open fun tick()
toString
Link copied to clipboard
open fun toString(): String

Inheritors

LazyPathGoal
Link copied to clipboard