Class LlamaEntity.DefendTargetGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.TargetGoal
-
- net.minecraft.entity.ai.goal.NearestAttackableTargetGoal<WolfEntity>
-
- net.minecraft.entity.passive.horse.LlamaEntity.DefendTargetGoal
-
- Enclosing class:
- LlamaEntity
static class LlamaEntity.DefendTargetGoal extends NearestAttackableTargetGoal<WolfEntity>
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetType
-
Fields inherited from class net.minecraft.entity.ai.goal.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
-
Constructor Summary
Constructors Constructor Description DefendTargetGoal(LlamaEntity p_i47285_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
getFollowDistance()
-
Methods inherited from class net.minecraft.entity.ai.goal.NearestAttackableTargetGoal
canUse, findTarget, getTargetSearchArea, setTarget, start
-
Methods inherited from class net.minecraft.entity.ai.goal.TargetGoal
canAttack, canContinueToUse, setUnseenMemoryTicks, stop
-
-
-
-
Constructor Detail
-
DefendTargetGoal
public DefendTargetGoal(LlamaEntity p_i47285_1_)
-
-
Method Detail
-
getFollowDistance
protected double getFollowDistance()
- Overrides:
getFollowDistance
in classTargetGoal
-
-