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.illager.Vindicator.VindicatorJohnnyAttackGoal
- Enclosing class:
Vindicator
private static class Vindicator.VindicatorJohnnyAttackGoal
extends NearestAttackableTargetGoal<LivingEntity>
-
Nested Class Summary
-
Field Summary
Fields inherited from class NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetTypeFields inherited from class TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTargetMethods inherited from class TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stopMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Constructor Details
-
VindicatorJohnnyAttackGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUsein classNearestAttackableTargetGoal<LivingEntity>
-
start
public void start()- Overrides:
startin classNearestAttackableTargetGoal<LivingEntity>
-