net.minecraft.world.entity.ai.behavior

public class LongJumpToRandomPos<E extends Mob>

extends Behavior<E>

bal
net.minecraft.world.entity.ai.behavior.LongJumpToRandomPos
net.minecraft.class_6030
net.minecraft.unmapped.C_lorklvui
net.minecraft.entity.ai.brain.task.LongJumpTask
net.minecraft.entity.ai.brain.task.LongJumpTask
net.minecraft.src.C_141082_
net.minecraft.world.entity.ai.behavior.LongJumpToRandomPos

Field summary

Modifier and TypeField
private static final int
c
FIND_JUMP_TRIES
field_30135
f_ezfoxhnc
MAX_COOLDOWN
MAX_COOLDOWN
f_147623_
private static final int
d
PREPARE_JUMP_DURATION
field_30136
f_cyuyrmqv
TARGET_RETAIN_TIME
TARGET_RETAIN_TIME
f_147624_
private static final int
e
MIN_PATHFIND_DISTANCE_TO_VALID_JUMP
field_30137
f_ohovpamk
PATHING_DISTANCE
PATHING_DISTANCE
f_147625_
public static final int
a
TIME_OUT_DURATION
field_30134
f_bkvdywub
RUN_TIME
RUN_TIME
f_147622_
private final UniformInt
f
timeBetweenLongJumps
field_30138
f_ljwlytol
cooldownRange
cooldownRange
f_147626_
private final int
g
maxLongJumpHeight
field_30139
f_xesapfpq
verticalRange
verticalRange
f_147627_
private final int
h
maxLongJumpWidth
field_30140
f_tpdxyctz
horizontalRange
horizontalRange
f_147628_
private final float
i
maxJumpVelocity
field_30141
f_kbvylemg
maxRange
maxRange
f_147629_
private final List<LongJumpToRandomPos$PossibleJump>
j
jumpCandidates
field_30142
f_cnpnjwkj
targets
targets
f_147630_
private Optional<Vec3>
k
initialPosition
field_30143
f_mrqbefwf
lastPos
lastPos
f_147631_
private Optional<LongJumpToRandomPos$PossibleJump>
l
chosenJump
field_30144
f_voltlwnj
lastTarget
lastTarget
f_147632_
private int
m
findJumpTries
field_30145
f_icwavajr
cooldown
cooldown
f_147633_
private long
n
prepareJumpStart
field_30146
f_oqaoaell
targetTime
targetTime
f_147634_
private Function<E, SoundEvent>
o
getJumpSound
field_33460
f_eohuokio
entityToSound
jumpSoundGetter
f_147635_

Constructor summary

ModifierConstructor
public (UniformInt cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound)

Method summary

Modifier and TypeMethod
protected boolean
a(adw arg0, aya arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_35076(class_3218 arg0, class_1308 arg1)
m_wgvqbfjl(C_bdwnwhiu arg0, C_dxkfswlz arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
m_6114_(C_12_ p_147651_, C_526_ arg1)
protected boolean
a(adw arg0, aya arg1, long arg2)
canStillUse(ServerLevel arg0, Mob arg1, long arg2)
method_35077(class_3218 arg0, class_1308 arg1, long arg2)
m_xiupcwmr(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
m_6737_(C_12_ p_147654_, C_526_ p_147655_, long arg2)
protected void
b(adw arg0, aya arg1, long arg2)
start(ServerLevel arg0, Mob arg1, long arg2)
method_35082(class_3218 arg0, class_1308 arg1, long arg2)
m_vctuqbpf(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
m_6735_(C_12_ p_147677_, C_526_ p_147678_, long arg2)
protected void
c(adw arg0, E arg1, long arg2)
tick(ServerLevel arg0, E arg1, long arg2)
method_35083(class_3218 arg0, E arg1, long arg2)
m_lxstufif(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_147681_, E p_147682_, long arg2)
private Optional<Vec3>
a(aya arg0, dpo arg1)
calculateOptimalJumpVector(Mob arg0, Vec3 arg1)
method_35078(class_1308 arg0, class_243 arg1)
m_uruzcoyz(C_dxkfswlz arg0, C_vgpupfxx arg1)
getRammingVelocity(MobEntity entity, Vec3d pos)
getRammingVelocity(MobEntity entity, Vec3d pos)
m_147656_(C_526_ p_147658_, C_3046_ arg1)
private Optional<Vec3>
a(aya arg0, dpo arg1, int arg2)
calculateJumpVectorForAngle(Mob arg0, Vec3 arg1, int arg2)
method_35079(class_1308 arg0, class_243 arg1, int arg2)
m_lopqoeza(C_dxkfswlz arg0, C_vgpupfxx arg1, int arg2)
getRammingVelocity(MobEntity entity, Vec3d pos, int range)
getRammingVelocity(MobEntity entity, Vec3d pos, int range)
m_147659_(C_526_ p_147661_, C_3046_ p_147662_, int arg2)
private boolean
a(aya arg0, dpo arg1, dpo arg2)
isClearTransition(Mob arg0, Vec3 arg1, Vec3 arg2)
method_35080(class_1308 arg0, class_243 arg1, class_243 arg2)
m_qdbegute(C_dxkfswlz arg0, C_vgpupfxx arg1, C_vgpupfxx arg2)
canReach(MobEntity entity, Vec3d startPos, Vec3d endPos)
canReach(MobEntity entity, Vec3d startPos, Vec3d endPos)
m_147663_(C_526_ p_147665_, C_3046_ p_147666_, C_3046_ arg2)