Package net.minecraft.entity.mob
Class ShulkerEntity.SearchForTargetGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.FollowTargetGoal<LivingEntity>
net.minecraft.entity.mob.ShulkerEntity.SearchForTargetGoal
- Enclosing class:
- ShulkerEntity
static class ShulkerEntity.SearchForTargetGoal extends FollowTargetGoal<LivingEntity>
- Mappings:
Namespace Name official bfl$c
intermediary net/minecraft/class_1606$class_1609
named net/minecraft/entity/mob/ShulkerEntity$SearchForTargetGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.FollowTargetGoal
reciprocalChance, targetClass, targetEntity, targetPredicate
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
Constructors Constructor Description SearchForTargetGoal(ShulkerEntity shulker)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
protected Box
getSearchBox(double distance)
Methods inherited from class net.minecraft.entity.ai.goal.FollowTargetGoal
findClosestTarget, setTargetEntity, start
Methods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Constructor Details
-
SearchForTargetGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbfl$c;<init>(Lbfl;)V
intermediary <init>
Lnet/minecraft/class_1606$class_1609;<init>(Lnet/minecraft/class_1606;)V
named <init>
Lnet/minecraft/entity/mob/ShulkerEntity$SearchForTargetGoal;<init>(Lnet/minecraft/entity/mob/ShulkerEntity;)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classFollowTargetGoal<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lawx;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
getSearchBox
- Overrides:
getSearchBox
in classFollowTargetGoal<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lays;a(D)Ldip;
intermediary method_6321
Lnet/minecraft/class_1400;method_6321(D)Lnet/minecraft/class_238;
named getSearchBox
Lnet/minecraft/entity/ai/goal/FollowTargetGoal;getSearchBox(D)Lnet/minecraft/util/math/Box;
-