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