History - net.minecraft.entity.ai.goal.MeleeAttackGoal

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.entity.ai.goal.MeleeAttackGoal

net.minecraft.class_1366

net.minecraft.entity.ai.goal.MeleeAttackGoal

Fields

PathAwareEntity: mob, field_6503, mob

double: speedModifier, field_6500, speed

boolean: followingTargetEvenIfNotSeen, field_6502, pauseWhenMobIdle

Path: path, field_6509, path

double: pathedTargetX, field_6508, targetX

double: pathedTargetY, field_6507, targetY

double: pathedTargetZ, field_6506, targetZ

int: ticksUntilNextPathRecalculation, field_6501, updateCountdownTicks

int: ticksUntilNextAttack, field_24667, cooldown

int: attackInterval, field_6504, attackIntervalTicks

long: lastCanUseCheck, field_19200, lastUpdateTime

long: COOLDOWN_BETWEEN_CAN_USE_CHECKS, field_30218, MAX_ATTACK_TIME

Constructors

(PathAwareEntity, double, boolean)

Methods

boolean (): canUse, method_6264, canStart

boolean (): canContinueToUse, method_6266, shouldContinue

void (): start, method_6269, start

void (): stop, method_6270, stop

boolean (): requiresUpdateEveryTick, method_38846, shouldRunEveryTick

void (): tick, method_6268, tick

void (LivingEntity): checkAndPerformAttack, method_6288, attack

void (): resetAttackCooldown, method_28346, resetCooldown

boolean (): isTimeToAttack, method_28347, isCooledDown

boolean (LivingEntity): canPerformAttack, method_53715, canAttack

int (): getTicksUntilNextAttack, method_28348, getCooldown

int (): getAttackInterval, method_28349, getMaxCooldown