net.minecraft.world.entity.ai.behavior

public class LongJumpToPreferredBlock<E extends Mob>

extends LongJumpToRandomPos<E>

All mapped superinterfaces:

BehaviorControl

bwj
net.minecraft.world.entity.ai.behavior.LongJumpToPreferredBlock
net.minecraft.class_7096
net.minecraft.entity.ai.brain.task.BiasedLongJumpTask
net.minecraft.src.C_213014_
net.minecraft.world.entity.ai.behavior.LongJumpToPreferredBlock

Field summary

Modifier and TypeField
private final TagKey<Block>
m
preferredBlockTag
field_37427
favoredBlocks
f_217259_
private final float
n
preferredBlocksChance
field_37428
biasChance
f_217260_
private final List<LongJumpToRandomPos$PossibleJump>
o
notPrefferedJumpCandidates
field_37429
unfavoredTargets
f_217261_
private boolean
p
currentlyWantingPreferredOnes
field_37430
useBias
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(aqu arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_35082(class_3218 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(aqu arg0)
getJumpCandidate(ServerLevel arg0)
method_41336(class_3218 arg0)
getTarget(ServerWorld arg0)
m_213675_(C_12_ arg0)