Package net.minecraft.entity.monster
Class VindicatorEntity.JohnnyAttackGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.TargetGoal
-
- net.minecraft.entity.ai.goal.NearestAttackableTargetGoal<LivingEntity>
-
- net.minecraft.entity.monster.VindicatorEntity.JohnnyAttackGoal
-
- Enclosing class:
- VindicatorEntity
static class VindicatorEntity.JohnnyAttackGoal extends NearestAttackableTargetGoal<LivingEntity>
-
-
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 JohnnyAttackGoal(VindicatorEntity p_i47345_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
void
start()
-
Methods inherited from class net.minecraft.entity.ai.goal.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget
-
Methods inherited from class net.minecraft.entity.ai.goal.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
-
-
-
-
Constructor Detail
-
JohnnyAttackGoal
public JohnnyAttackGoal(VindicatorEntity p_i47345_1_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classNearestAttackableTargetGoal<LivingEntity>
-
start
public void start()
- Overrides:
start
in classNearestAttackableTargetGoal<LivingEntity>
-
-