net.minecraft.world.entity.ai.behavior

public class RamTarget<E extends PathfinderMob>

extends Behavior<E>

baw
net.minecraft.world.entity.ai.behavior.RamTarget
net.minecraft.class_6338
net.minecraft.unmapped.C_mqbxlhpd
net.minecraft.entity.ai.brain.task.RamImpactTask
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
f_orazfcfz
RUN_TIME
RUN_TIME
f_147800_
public static final float
c
RAM_SPEED_FORCE_FACTOR
field_33475
f_uqjkwqlf
SPEED_STRENGTH_MULTIPLIER
SPEED_STRENGTH_MULTIPLIER
f_147801_
private final Function<E, UniformInt>
d
getTimeBetweenRams
field_33476
f_fwowmfiw
cooldownRangeFactory
cooldownRangeFactory
f_147802_
private final TargetingConditions
e
ramTargeting
field_33477
f_hzjlmihe
targetPredicate
targetPredicate
f_147803_
private final float
f
speed
field_33479
f_zoiyfehu
speed
speed
f_147805_
private final ToDoubleFunction<E>
g
getKnockbackForce
field_33480
f_yuejqwdr
strengthMultiplierFactory
strengthMultiplierFactory
f_147806_
private Vec3
h
ramDirection
field_33481
f_fjxuwdkt
direction
direction
f_147807_
private final Function<E, SoundEvent>
i
getImpactSound
field_33482
f_eefnfndh
soundFactory
soundFactory
f_147808_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(adw arg0, ayh arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_36277(class_3218 arg0, class_1314 arg1)
m_lkcbdvwn(C_bdwnwhiu arg0, C_hqdayibh arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_6114_(C_12_ p_147825_, C_533_ arg1)
protected boolean
a(adw arg0, ayh arg1, long arg2)
canStillUse(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_36278(class_3218 arg0, class_1314 arg1, long arg2)
m_djnlotdn(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, PathAwareEntity 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(adw arg0, ayh arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_36280(class_3218 arg0, class_1314 arg1, long arg2)
m_mvtizfic(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity 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(adw arg0, E arg1, long arg2)
tick(ServerLevel arg0, E arg1, long arg2)
method_36281(class_3218 arg0, E arg1, long arg2)
m_pxmbabau(C_bdwnwhiu arg0, E arg1, long arg2)
keepRunning(ServerWorld 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(adw arg0, E arg1)
finishRam(ServerLevel arg0, E arg1)
method_36279(class_3218 arg0, E arg1)
m_knioirfk(C_bdwnwhiu arg0, E arg1)
finishRam(ServerWorld world, E entity)
finishRam(ServerWorld world, E entity)
m_147834_(C_12_ p_147836_, E arg1)