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 official bor
intermediary net/minecraft/class_1406
named net/minecraft/entity/ai/goal/AttackWithOwnerGoal
-
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 official a
Lbor;a:Lbgt;
intermediary field_6666
Lnet/minecraft/class_1406;field_6666:Lnet/minecraft/class_1321;
named tameable
Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
-
attacking
- Mappings:
Namespace Name Mixin selector official b
Lbor;b:Lbfx;
intermediary field_6667
Lnet/minecraft/class_1406;field_6667:Lnet/minecraft/class_1309;
named attacking
Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;attacking:Lnet/minecraft/entity/LivingEntity;
-
lastAttackTime
private int lastAttackTime- Mappings:
Namespace Name Mixin selector official c
Lbor;c:I
intermediary field_6665
Lnet/minecraft/class_1406;field_6665:I
named lastAttackTime
Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;lastAttackTime:I
-
-
Constructor Details
-
AttackWithOwnerGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbor;<init>(Lbgt;)V
intermediary <init>
Lnet/minecraft/class_1406;<init>(Lnet/minecraft/class_1321;)V
named <init>
Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;<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
Lbmt;c()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
-