net.minecraft.world.entity.ai.behavior

public class RamTarget

extends Behavior<Goat>

All mapped superinterfaces:

BehaviorControl

bhj
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
c
TIME_OUT_DURATION
field_33474
f_orazfcfz
RUN_TIME
RUN_TIME
f_147800_
public static final float
d
RAM_SPEED_FORCE_FACTOR
field_33475
f_uqjkwqlf
SPEED_STRENGTH_MULTIPLIER
SPEED_STRENGTH_MULTIPLIER
f_147801_
private final Function<Goat, UniformInt>
e
getTimeBetweenRams
field_33476
f_fwowmfiw
cooldownRangeFactory
cooldownRangeFactory
f_147802_
private final TargetingConditions
f
ramTargeting
field_33477
f_hzjlmihe
targetPredicate
targetPredicate
f_147803_
private final float
g
speed
field_33479
f_zoiyfehu
speed
speed
f_147805_
private final ToDoubleFunction<Goat>
h
getKnockbackForce
field_33480
f_yuejqwdr
strengthMultiplierFactory
strengthMultiplierFactory
f_147806_
private Vec3
i
ramDirection
field_33481
f_fjxuwdkt
direction
direction
f_147807_
private final Function<Goat, SoundEvent>
j
getImpactSound
field_33482
f_eefnfndh
impactSoundFactory
soundFactory
f_147808_
private final Function<Goat, SoundEvent>
k
getHornBreakSound
field_39044
f_osbzikop
hornBreakSoundFactory
f_217340_

Constructor summary

ModifierConstructor
public (Function<Goat, UniformInt> cooldownRangeFactory, TargetingConditions targetPredicate, float speed, ToDoubleFunction<Goat> strengthMultiplierFactory, Function<Goat, SoundEvent> impactSoundFactory, Function<Goat, SoundEvent> hornBreakSoundFactory)

Method summary

Modifier and TypeMethod
protected boolean
a(ahm arg0, brj arg1)
checkExtraStartConditions(ServerLevel arg0, Goat arg1)
method_36277(class_3218 arg0, class_6053 arg1)
m_dspzbvui(C_bdwnwhiu arg0, C_rrwjjvrc arg1)
shouldRun(ServerWorld arg0, GoatEntity arg1)
shouldRun(ServerWorld arg0, GoatEntity arg1)
m_6114_(C_12_ p_217350_, C_141129_ arg1)
protected boolean
a(ahm arg0, brj arg1, long arg2)
canStillUse(ServerLevel arg0, Goat arg1, long arg2)
method_36278(class_3218 arg0, class_6053 arg1, long arg2)
m_tfjudioi(C_bdwnwhiu arg0, C_rrwjjvrc arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, GoatEntity arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, GoatEntity arg1, long arg2)
m_6737_(C_12_ p_217353_, C_141129_ p_217354_, long arg2)
protected void
b(ahm arg0, brj arg1, long arg2)
start(ServerLevel arg0, Goat arg1, long arg2)
method_36280(class_3218 arg0, class_6053 arg1, long arg2)
m_doqvjwzc(C_bdwnwhiu arg0, C_rrwjjvrc arg1, long arg2)
run(ServerWorld arg0, GoatEntity arg1, long arg2)
run(ServerWorld arg0, GoatEntity arg1, long arg2)
m_6735_(C_12_ p_217360_, C_141129_ p_217361_, long arg2)
protected void
c(ahm arg0, brj arg1, long arg2)
tick(ServerLevel arg0, Goat arg1, long arg2)
method_36281(class_3218 arg0, class_6053 arg1, long arg2)
m_ewtwdwgh(C_bdwnwhiu arg0, C_rrwjjvrc arg1, long arg2)
keepRunning(ServerWorld arg0, GoatEntity arg1, long arg2)
keepRunning(ServerWorld arg0, GoatEntity arg1, long arg2)
m_6725_(C_12_ p_217367_, C_141129_ p_217368_, long arg2)
private boolean
c(ahm arg0, brj arg1)
hasRammedHornBreakingBlock(ServerLevel arg0, Goat arg1)
method_43535(class_3218 arg0, class_6053 arg1)
m_ezqrkbgm(C_bdwnwhiu arg0, C_rrwjjvrc arg1)
shouldSnapHorn(ServerWorld world, GoatEntity goat)
m_ezqrkbgm(ServerWorld world, GoatEntity arg1)
m_217362_(C_12_ p_217364_, C_141129_ arg1)
protected void
b(ahm arg0, brj arg1)
finishRam(ServerLevel arg0, Goat arg1)
method_36279(class_3218 arg0, class_6053 arg1)
m_knioirfk(C_bdwnwhiu arg0, C_rrwjjvrc arg1)
finishRam(ServerWorld world, GoatEntity goat)
finishRam(ServerWorld world, GoatEntity arg1)
m_217355_(C_12_ p_217357_, C_141129_ arg1)