Package net.minecraft.entity.passive
Class FoxEntity.AttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.passive.FoxEntity.AttackGoal
- Enclosing class:
- FoxEntity
class FoxEntity.AttackGoal extends MeleeAttackGoal
- Mappings:
Namespace Name official bbs$l
intermediary net/minecraft/class_4019$class_4029
named net/minecraft/entity/passive/FoxEntity$AttackGoal
-
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.MeleeAttackGoal
mob
-
Constructor Summary
Constructors Constructor Description AttackGoal(double speed, boolean pauseWhenIdle)
-
Method Summary
Modifier and Type Method Description protected void
attack(LivingEntity target, double squaredDistance)
boolean
canStart()
void
start()
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
getSquaredMaxAttackDistance, method_28346, method_28347, method_28348, method_28349, shouldContinue, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
AttackGoal
public AttackGoal(double speed, boolean pauseWhenIdle)- Mappings:
Namespace Name Mixin selector official <init>
Lbbs$l;<init>(Lbbs;DZ)V
intermediary <init>
Lnet/minecraft/class_4019$class_4029;<init>(Lnet/minecraft/class_4019;DZ)V
named <init>
Lnet/minecraft/entity/passive/FoxEntity$AttackGoal;<init>(Lnet/minecraft/entity/passive/FoxEntity;DZ)V
-
-
Method Details
-
attack
- Overrides:
attack
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official a
Laxh;a(Lari;D)V
intermediary method_6288
Lnet/minecraft/class_1366;method_6288(Lnet/minecraft/class_1309;D)V
named attack
Lnet/minecraft/entity/ai/goal/MeleeAttackGoal;attack(Lnet/minecraft/entity/LivingEntity;D)V
-
start
public void start()- Overrides:
start
in classMeleeAttackGoal
- 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
-
canStart
public boolean canStart()- Overrides:
canStart
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official a
Lawx;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-