Package net.minecraft.entity.ai.goal
Class TrackOwnerAttackerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.TrackOwnerAttackerGoal
public class TrackOwnerAttackerGoal extends TrackTargetGoal
- Mappings:
Namespace Name official ayw
intermediary net/minecraft/class_1403
named net/minecraft/entity/ai/goal/TrackOwnerAttackerGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private LivingEntity
attacker
private int
lastAttackedTime
private TameableEntity
tameable
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
Constructors Constructor Description TrackOwnerAttackerGoal(TameableEntity tameable)
-
Method Summary
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
-
Field Details
-
tameable
- Mappings:
Namespace Name Mixin selector official a
Layw;a:Lasb;
intermediary field_6654
Lnet/minecraft/class_1403;field_6654:Lnet/minecraft/class_1321;
named tameable
Lnet/minecraft/entity/ai/goal/TrackOwnerAttackerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
-
attacker
- Mappings:
Namespace Name Mixin selector official b
Layw;b:Lari;
intermediary field_6655
Lnet/minecraft/class_1403;field_6655:Lnet/minecraft/class_1309;
named attacker
Lnet/minecraft/entity/ai/goal/TrackOwnerAttackerGoal;attacker:Lnet/minecraft/entity/LivingEntity;
-
lastAttackedTime
private int lastAttackedTime- Mappings:
Namespace Name Mixin selector official c
Layw;c:I
intermediary field_6653
Lnet/minecraft/class_1403;field_6653:I
named lastAttackedTime
Lnet/minecraft/entity/ai/goal/TrackOwnerAttackerGoal;lastAttackedTime:I
-
-
Constructor Details
-
TrackOwnerAttackerGoal
- Mappings:
Namespace Name Mixin selector official <init>
Layw;<init>(Lasb;)V
intermediary <init>
Lnet/minecraft/class_1403;<init>(Lnet/minecraft/class_1321;)V
named <init>
Lnet/minecraft/entity/ai/goal/TrackOwnerAttackerGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;)V
-
-
Method Details
-
canStart
public boolean canStart() -
start
public void start()- Overrides:
start
in classTrackTargetGoal
- Mappings:
Namespace Name Mixin selector official c
Lawx;c()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
-