Package net.minecraft.entity.mob
Class ShulkerEntity.TargetPlayerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.ActiveTargetGoal<PlayerEntity>
net.minecraft.entity.mob.ShulkerEntity.TargetPlayerGoal
- Enclosing class:
ShulkerEntity
A hostile target goal on players.
- Mappings:
Namespace Name named net/minecraft/entity/mob/ShulkerEntity$TargetPlayerGoalintermediary net/minecraft/class_1606$class_1610official ckj$e
-
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.ActiveTargetGoal
reciprocalChance, targetClass, targetEntity, targetPredicateFields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.ActiveTargetGoal
findClosestTarget, setTargetEntity, startMethods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Constructor Details
-
TargetPlayerGoal
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/mob/ShulkerEntity$TargetPlayerGoal;<init>(Lnet/minecraft/entity/mob/ShulkerEntity;Lnet/minecraft/entity/mob/ShulkerEntity;)Vintermediary <init>Lnet/minecraft/class_1606$class_1610;<init>(Lnet/minecraft/class_1606;Lnet/minecraft/class_1606;)Vofficial <init>Lckj$e;<init>(Lckj;Lckj;)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classActiveTargetGoal<PlayerEntity>- Mappings:
Namespace Name Mixin selector named canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Zofficial bLcam;b()Z
-
getSearchBox
- Overrides:
getSearchBoxin classActiveTargetGoal<PlayerEntity>- Mappings:
Namespace Name Mixin selector named getSearchBoxLnet/minecraft/entity/ai/goal/ActiveTargetGoal;getSearchBox(D)Lnet/minecraft/util/math/Box;intermediary method_6321Lnet/minecraft/class_1400;method_6321(D)Lnet/minecraft/class_238;official aLccf;a(D)Lewx;
-