Class Vindicator.VindicatorJohnnyAttackGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.target.TargetGoal
net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal<LivingEntity>
net.minecraft.world.entity.monster.Vindicator.VindicatorJohnnyAttackGoal
- Enclosing class:
- Vindicator
static class Vindicator.VindicatorJohnnyAttackGoal
extends NearestAttackableTargetGoal<LivingEntity>
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetType
Fields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget
Methods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
-
Constructor Details
-
VindicatorJohnnyAttackGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classNearestAttackableTargetGoal<LivingEntity>
-
start
public void start()- Overrides:
start
in classNearestAttackableTargetGoal<LivingEntity>
-