History - net.minecraft.world.entity.ai.behavior.ChargeAttack
1.21.11
Names
cji
net.minecraft.world.entity.ai.behavior.ChargeAttack
net.minecraft.class_12111
net.minecraft.entity.ai.brain.task.DashAttackTask
net.minecraft.src.C_432105_
net.minecraft.world.entity.ai.behavior.ChargeAttack
Fields
int: c, timeBetweenAttacks, field_63298, cooldownTicks, f_436426_
TargetingConditions: d, chargeTargeting, field_63299, predicate, f_433784_
float: e, speed, field_63300, speed, f_436039_
float: f, knockbackForce, field_63301, knockbackStrength, f_437122_
double: g, maxTargetDetectionDistance, field_63302, maxDistance, f_434338_
double: h, maxChargeDistance, field_63303, maxEntitySpeed, f_434200_
SoundEvent: i, chargeSound, field_64480, sound, f_436686_
Vec3: j, chargeVelocityVector, field_63304, velocity, f_434240_
Vec3: k, startPosition, field_63305, lastPos, f_434567_
Constructors
(int, TargetingConditions, float, float, double, double, SoundEvent)
Methods
boolean (ServerLevel, Animal): a, checkExtraStartConditions, method_75134, shouldRun, m_6114_
boolean (ServerLevel, Animal, long): a, canStillUse, method_75135, shouldKeepRunning, m_6737_
void (ServerLevel, Animal, long): b, start, method_75138, run, m_6735_
void (ServerLevel, Animal, long): c, tick, method_75140, keepRunning, m_6725_
void (ServerLevel, Animal, LivingEntity): a, dealDamageToTarget, method_75136, attack, m_444433_
void (Animal, LivingEntity): a, dealKnockBack, method_75137, knockbackTarget, m_439674_
void (ServerLevel, Animal, long): d, stop, method_75141, finishRunning, m_6732_