Package net.minecraft.entity.ai.goal
Class AttackWithOwnerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.AttackWithOwnerGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/AttackWithOwnerGoal
intermediary net/minecraft/class_1406
official ccm
-
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.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
-
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, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Field Details
-
tameable
- Mappings:
Namespace Name Mixin selector named tameable
Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
intermediary field_6666
Lnet/minecraft/class_1406;field_6666:Lnet/minecraft/class_1321;
official a
Lccm;a:Lbun;
-
attacking
- Mappings:
Namespace Name Mixin selector named attacking
Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;attacking:Lnet/minecraft/entity/LivingEntity;
intermediary field_6667
Lnet/minecraft/class_1406;field_6667:Lnet/minecraft/class_1309;
official b
Lccm;b:Lbtq;
-
lastAttackTime
private int lastAttackTime- Mappings:
Namespace Name Mixin selector named lastAttackTime
Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;lastAttackTime:I
intermediary field_6665
Lnet/minecraft/class_1406;field_6665:I
official c
Lccm;c:I
-
-
Constructor Details
-
AttackWithOwnerGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;)V
intermediary <init>
Lnet/minecraft/class_1406;<init>(Lnet/minecraft/class_1321;)V
official <init>
Lccm;<init>(Lbun;)V
-
-
Method Details
-
canStart
public boolean canStart() -
start
public void start()- Overrides:
start
in classTrackTargetGoal
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
official c
Lcao;c()V
-