Package net.minecraft.entity.monster
Class ShulkerEntity.DefenseAttackGoal
- 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.ShulkerEntity.DefenseAttackGoal
-
- Enclosing class:
- ShulkerEntity
static class ShulkerEntity.DefenseAttackGoal 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 DefenseAttackGoal(ShulkerEntity p_i47061_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
protected AxisAlignedBB
getTargetSearchArea(double p_188511_1_)
-
Methods inherited from class net.minecraft.entity.ai.goal.NearestAttackableTargetGoal
findTarget, setTarget, start
-
Methods inherited from class net.minecraft.entity.ai.goal.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
-
-
-
-
Constructor Detail
-
DefenseAttackGoal
public DefenseAttackGoal(ShulkerEntity p_i47061_1_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classNearestAttackableTargetGoal<LivingEntity>
-
getTargetSearchArea
protected AxisAlignedBB getTargetSearchArea(double p_188511_1_)
- Overrides:
getTargetSearchArea
in classNearestAttackableTargetGoal<LivingEntity>
-
-