History - net.minecraft.world.entity.ai.behavior.ChargeAttack
25w45a
Names
cjh
net.minecraft.world.entity.ai.behavior.ChargeAttack
net.minecraft.class_12111
net.minecraft.entity.ai.brain.task.DashAttackTask
Fields
int: c, timeBetweenAttacks, field_63298, cooldownTicks
TargetingConditions: d, chargeTargeting, field_63299, predicate
float: e, speed, field_63300, speed
float: f, knockbackForce, field_63301, knockbackStrength
double: g, maxTargetDetectionDistance, field_63302, maxDistance
double: h, maxChargeDistance, field_63303, maxEntitySpeed
Vec3: i, chargeVelocityVector, field_63304, velocity
Vec3: j, startPosition, field_63305, lastPos
Constructors
(int, TargetingConditions, float, float, double, double)
Methods
boolean (ServerLevel, Animal): a, checkExtraStartConditions, method_75134, shouldRun
boolean (ServerLevel, Animal, long): a, canStillUse, method_75135, shouldKeepRunning
void (ServerLevel, Animal, long): b, start, method_75138, run
void (ServerLevel, Animal, long): c, tick, method_75140, keepRunning
void (ServerLevel, Animal, LivingEntity): a, dealDamageToTarget, method_75136, attack
void (Animal, LivingEntity): a, dealKnockBack, method_75137, knockbackTarget
void (ServerLevel, Animal, long): d, stop, method_75141, finishRunning