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 official blr$e
intermediary net/minecraft/class_1606$class_1610
named net/minecraft/entity/mob/ShulkerEntity$TargetPlayerGoal
-
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, targetPredicate
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.ActiveTargetGoal
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, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Constructor Details
-
TargetPlayerGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lblr$e;<init>(Lblr;Lblr;)V
intermediary <init>
Lnet/minecraft/class_1606$class_1610;<init>(Lnet/minecraft/class_1606;Lnet/minecraft/class_1606;)V
named <init>
Lnet/minecraft/entity/mob/ShulkerEntity$TargetPlayerGoal;<init>(Lnet/minecraft/entity/mob/ShulkerEntity;Lnet/minecraft/entity/mob/ShulkerEntity;)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classActiveTargetGoal<PlayerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbdb;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 classActiveTargetGoal<PlayerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbet;a(D)Ldoh;
intermediary method_6321
Lnet/minecraft/class_1400;method_6321(D)Lnet/minecraft/class_238;
named getSearchBox
Lnet/minecraft/entity/ai/goal/ActiveTargetGoal;getSearchBox(D)Lnet/minecraft/util/math/Box;
-