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

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

float: approachDistanceSq, field_64627, field_64627

Constructors

(double, double, float, float)

(double, double, float)

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.entity.ai.behavior.SpearAttack

net.minecraft.class_12359

net.minecraft.entity.ai.brain.task.SpearChargeTask

Fields

int: MIN_REPOSITION_DISTANCE, field_64623, field_64623

int: MAX_REPOSITION_DISTANCE, field_64624, field_64624

double: speedModifierWhenCharging, field_64625, chargeStartSpeed

double: speedModifierWhenRepositioning, field_64626, chargeSpeed

float: approachDistanceSq, field_64627, field_64627

float: targetInRangeRadiusSq, field_64628, squaredChargeRange

Constructors

(double, double, float, float)

Methods

LivingEntity (PathAwareEntity): getTarget, method_76707, getTarget

boolean (PathAwareEntity): ableToAttack, method_76709, shouldAttack

int (PathAwareEntity): getKineticWeaponUseDuration, method_76711, getSpearUseTicks

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

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

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

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

void (ServerWorld, PathAwareEntity, long): stop, method_76712, 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