TrackEntityGoal

open class TrackEntityGoal : Goal

Constructors

TrackEntityGoal
Link copied to clipboard
open fun TrackEntityGoal(mob: PathfinderMob, targetClass: Class<out LivingEntity>, targetPredicate: Predicate<LivingEntity>)

Functions

canContinueToUse
Link copied to clipboard
open fun canContinueToUse(): Boolean
canUse
Link copied to clipboard
open fun canUse(): Boolean
resetTrackingEntity
Link copied to clipboard
open fun resetTrackingEntity()
start
Link copied to clipboard
open fun start()

Inherited functions

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