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$AttackGoalintermediary net/minecraft/class_4019$class_4029official chi$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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidattack(LivingEntity livingEntity) booleancanStart()voidstart()Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
canAttack, getCooldown, getMaxCooldown, isCooledDown, resetCooldown, shouldContinue, shouldRunEveryTick, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, method_64451, method_64452, 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)Vintermediary <init>Lnet/minecraft/class_4019$class_4029;<init>(Lnet/minecraft/class_4019;DZ)Vofficial <init>Lchi$l;<init>(Lchi;DZ)V
-
-
Method Details
-
attack
- Overrides:
attackin classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector named attackLnet/minecraft/entity/ai/goal/MeleeAttackGoal;attack(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_6288Lnet/minecraft/class_1366;method_6288(Lnet/minecraft/class_1309;)Vofficial aLccp;a(Lbvh;)V
-
start
public void start()- Overrides:
startin classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector named startLnet/minecraft/entity/ai/goal/Goal;start()Vintermediary method_6269Lnet/minecraft/class_1352;method_6269()Vofficial dLccf;d()V
-
canStart
public boolean canStart()- Overrides:
canStartin classMeleeAttackGoal- Mappings:
Namespace Name Mixin selector named canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Zofficial bLccf;b()Z
-