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
- Mappings:
Namespace Name named net/minecraft/entity/passive/FoxEntity$AttackGoal
intermediary net/minecraft/class_4019$class_4029
official cfc$l
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
attack
(LivingEntity target) boolean
canStart()
void
start()
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
canAttack, getCooldown, getMaxCooldown, isCooledDown, resetCooldown, shouldContinue, shouldRunEveryTick, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, toGoalTicks, toString
-
Constructor Details
-
AttackGoal
public AttackGoal(double speed, boolean pauseWhenIdle) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/FoxEntity$AttackGoal;<init>(Lnet/minecraft/entity/passive/FoxEntity;DZ)V
intermediary <init>
Lnet/minecraft/class_4019$class_4029;<init>(Lnet/minecraft/class_4019;DZ)V
official <init>
Lcfc$l;<init>(Lcfc;DZ)V
-
-
Method Details
-
attack
- Overrides:
attack
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector named attack
Lnet/minecraft/entity/ai/goal/MeleeAttackGoal;attack(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_6288
Lnet/minecraft/class_1366;method_6288(Lnet/minecraft/class_1309;)V
official a
Lcak;a(Lbtc;)V
-
start
public void start()- Overrides:
start
in classMeleeAttackGoal
- 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
Lcaa;c()V
-
canStart
public boolean canStart()- Overrides:
canStart
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
official a
Lcaa;a()Z
-