Class Shulker.ShulkerNearestAttackGoal
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<Player>
net.minecraft.world.entity.monster.Shulker.ShulkerNearestAttackGoal
- Enclosing class:
Shulker
-
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
Modifier and TypeMethodDescriptionboolean
canUse()
protected AABB
getTargetSearchArea
(double p_33508_) Methods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, setTarget, start
Methods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Constructor Details
-
ShulkerNearestAttackGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classNearestAttackableTargetGoal<Player>
-
getTargetSearchArea
- Overrides:
getTargetSearchArea
in classNearestAttackableTargetGoal<Player>
-