Package net.minecraft.entity.ai.goal
Class DefendVillageTargetGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TargetGoal
net.minecraft.entity.ai.goal.DefendVillageTargetGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EntityPredicate
private final IronGolemEntity
private LivingEntity
Fields inherited from class net.minecraft.entity.ai.goal.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
-
Field Details
-
golem
-
potentialTarget
-
attackTargeting
-
-
Constructor Details
-
DefendVillageTargetGoal
-
-
Method Details
-
canUse
public boolean canUse() -
start
public void start()- Overrides:
start
in classTargetGoal
-