Class DroneAIAttackEntity
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
me.desht.pneumaticcraft.common.drone.ai.DroneAIAttackEntity
public class DroneAIAttackEntity
extends net.minecraft.world.entity.ai.goal.MeleeAttackGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.Goal.Flag -
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
mob -
Constructor Summary
ConstructorsConstructorDescriptionDroneAIAttackEntity(DroneEntity attacker, double speed, boolean useLongMemory, String filterString) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
checkAndPerformAttack, getAttackInterval, getAttackReachSqr, getTicksUntilNextAttack, isTimeToAttack, requiresUpdateEveryTick, resetAttackCooldown, stopMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, toString
-
Constructor Details
-
DroneAIAttackEntity
public DroneAIAttackEntity(DroneEntity attacker, double speed, boolean useLongMemory, String filterString)
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUsein classnet.minecraft.world.entity.ai.goal.MeleeAttackGoal
-
start
public void start()- Overrides:
startin classnet.minecraft.world.entity.ai.goal.MeleeAttackGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classnet.minecraft.world.entity.ai.goal.MeleeAttackGoal
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.world.entity.ai.goal.MeleeAttackGoal
-