History - net.minecraft.entity.ai.brain.task.SpearAttackTask

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.behavior.SpearApproach

net.minecraft.class_12358

net.minecraft.entity.ai.brain.task.SpearAttackTask

Fields

double: speedModifierWhenRepositioning, field_64621, speed

float: approachDistanceSq, field_64622, squaredAttackRange

Constructors

(double, float)

Methods

boolean (PathAwareEntity): ableToAttack, method_76699, canRun

boolean (ServerWorld, PathAwareEntity): checkExtraStartConditions, method_76697, shouldRun

void (ServerWorld, PathAwareEntity, long): start, method_76698, run

LivingEntity (PathAwareEntity): getTarget, method_76701, getAttackTarget

boolean (ServerWorld, PathAwareEntity, long): canStillUse, method_76700, shouldKeepRunning

boolean (PathAwareEntity): farEnough, method_76703, isTargetWithinRange

void (ServerWorld, PathAwareEntity, long): tick, method_76702, keepRunning

void (ServerWorld, PathAwareEntity, long): stop, method_76704, finishRunning

boolean (long): timedOut, method_18915, isTimeLimitExceeded

boolean (ServerWorld, LivingEntity): checkExtraStartConditions, method_18919, shouldRun

boolean (ServerWorld, LivingEntity, long): canStillUse, method_18927, shouldKeepRunning

void (ServerWorld, LivingEntity, long): stop, method_18926, finishRunning

void (ServerWorld, LivingEntity, long): tick, method_18924, keepRunning

void (ServerWorld, LivingEntity, long): start, method_18920, run