Package net.minecraft.entity.passive
Class LlamaEntity.ChaseWolvesGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.FollowTargetGoal<WolfEntity>
net.minecraft.entity.passive.LlamaEntity.ChaseWolvesGoal
- Enclosing class:
- LlamaEntity
static class LlamaEntity.ChaseWolvesGoal extends FollowTargetGoal<WolfEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.FollowTargetGoal
reciprocalChance, targetClass, targetEntity, targetPredicate
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
Constructors Constructor Description ChaseWolvesGoal(LlamaEntity llama)
-
Method Summary
Modifier and Type Method Description protected double
getFollowRange()
Methods inherited from class net.minecraft.entity.ai.goal.FollowTargetGoal
canStart, findClosestTarget, getSearchBox, setTargetEntity, start
Methods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, setMaxTimeWithoutVisibility, shouldContinue, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Constructor Details
-
ChaseWolvesGoal
-
-
Method Details
-
getFollowRange
protected double getFollowRange()- Overrides:
getFollowRange
in classTrackTargetGoal
-