net.minecraft.world.entity.ai.behavior

public class RamTarget<E extends PathfinderMob>

extends Behavior<E>

aws
net.minecraft.world.entity.ai.behavior.RamTarget
net.minecraft.class_6338
net.minecraft.entity.ai.brain.task.RamImpactTask
net.minecraft.src.C_141086_
net.minecraft.world.entity.ai.behavior.RamTarget

Field summary

Modifier and TypeField
public static final int
a
TIME_OUT_DURATION
field_33474
RUN_TIME
f_147800_
public static final float
c
RAM_SPEED_FORCE_FACTOR
field_33475
SPEED_STRENGTH_MULTIPLIER
f_147801_
private final Function<E, UniformInt>
d
getTimeBetweenRams
field_33476
cooldownRangeFactory
f_147802_
private final TargetingConditions
e
ramTargeting
field_33477
targetPredicate
f_147803_
private final ToIntFunction<E>
f
getDamage
field_33478
damage
f_147804_
private final float
g
speed
field_33479
speed
f_147805_
private final ToDoubleFunction<E>
h
getKnockbackForce
field_33480
strengthMultiplierFactory
f_147806_
private Vec3
i
ramDirection
field_33481
direction
f_147807_
private final Function<E, SoundEvent>
j
getImpactSound
field_33482
soundFactory
f_147808_

Constructor summary

ModifierConstructor
public (Function<E, UniformInt> cooldownRangeFactory, TargetingConditions targetPredicate, ToIntFunction<E> damage, float speed, ToDoubleFunction<E> strengthMultiplierFactory, Function<E, SoundEvent> soundFactory)

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, auc arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_36277(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_6114_(C_12_ p_147825_, C_533_ arg1)
protected boolean
a(abr arg0, auc arg1, long arg2)
canStillUse(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_36278(class_3218 arg0, class_1314 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6737_(C_12_ p_147828_, C_533_ p_147829_, long arg2)
protected void
b(abr arg0, auc arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_36280(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_147839_, C_533_ p_147840_, long arg2)
protected void
c(abr arg0, E arg1, long arg2)
tick(ServerLevel arg0, E arg1, long arg2)
method_36281(class_3218 arg0, E arg1, long arg2)
keepRunning(ServerWorld arg0, E arg1, long arg2)
m_6725_(C_12_ p_147843_, E p_147844_, long arg2)
protected void
b(abr arg0, E arg1)
finishRam(ServerLevel arg0, E arg1)
method_36279(class_3218 arg0, E arg1)
finishRam(ServerWorld world, E entity)
m_147834_(C_12_ p_147836_, E arg1)