net.minecraft.entity.ai.goal

public class AttackGoal

extends Goal

net.minecraft.world.entity.ai.goal.OcelotAttackGoal
net.minecraft.class_1371
net.minecraft.entity.ai.goal.AttackGoal

Field summary

Modifier and TypeField
private final MobEntity
mob
field_6541
mob
private LivingEntity
target
field_6539
target
private int
attackTime
field_6540
cooldown

Constructor summary

ModifierConstructor
public (MobEntity mob)

Method summary

Modifier and TypeMethod
public boolean
canUse()
method_6264()
canStart()
public boolean
canContinueToUse()
method_6266()
shouldContinue()
public void
stop()
method_6270()
stop()
public boolean
requiresUpdateEveryTick()
method_38846()
shouldRunEveryTick()
public void
tick()
method_6268()
tick()