net.minecraft.world.entity.ai.behavior

public class LongJumpToPreferredBlock<E extends Mob>

extends LongJumpToRandomPos<E>

All mapped superinterfaces:

BehaviorControl

bza
net.minecraft.world.entity.ai.behavior.LongJumpToPreferredBlock
net.minecraft.class_7096
net.minecraft.unmapped.C_glkmjulj
net.minecraft.entity.ai.brain.task.BiasedLongJumpTask
net.minecraft.entity.ai.brain.task.LongJumpToPreferredBlockTask
net.minecraft.src.C_213014_
net.minecraft.world.entity.ai.behavior.LongJumpMidJump

Field summary

Modifier and TypeField
private final TagKey<Block>
m
preferredBlockTag
field_37427
f_yzlxygfj
favoredBlocks
preferredBlocks
f_217259_
private final float
n
preferredBlocksChance
field_37428
f_dfdlppcb
biasChance
jumpChance
f_217260_
private final List<LongJumpToRandomPos$PossibleJump>
o
notPrefferedJumpCandidates
field_37429
f_wnftbeqi
unfavoredTargets
jumpTargets
f_217261_
private boolean
p
currentlyWantingPreferredOnes
field_37430
f_xsvsbebs
useBias
shouldJump
f_217262_

Constructor summary

ModifierConstructor
public (UniformInt cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, TagKey<Block> favoredBlocks, float biasChance, BiPredicate<E, BlockPos> jumpToPredicate)

Method summary

Modifier and TypeMethod
protected void
a(ash arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_35082(class_3218 arg0, E arg1, long arg2)
m_vctuqbpf(C_bdwnwhiu arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_217280_, E p_217281_, long arg2)
protected Optional<LongJumpToRandomPos$PossibleJump>
a(ash arg0)
getJumpCandidate(ServerLevel arg0)
method_41336(class_3218 arg0)
m_lhfkbmlb(C_bdwnwhiu arg0)
removeRandomTarget(ServerWorld arg0)
findTarget(ServerWorld arg0)
m_213675_(C_12_ arg0)