net.minecraft.world.entity.ai.behavior

public class LongJumpToPreferredBlock<E extends Mob>

extends LongJumpToRandomPos<E>

All mapped superinterfaces:

BehaviorControl

bzb
net.minecraft.world.entity.ai.behavior.LongJumpToPreferredBlock
net.minecraft.class_7096
net.minecraft.entity.ai.brain.task.BiasedLongJumpTask
net.minecraft.world.entity.ai.behavior.LongJumpToPreferredBlock

Field summary

Modifier and TypeField
private final TagKey<Block>
m
preferredBlockTag
field_37427
favoredBlocks
private final float
n
preferredBlocksChance
field_37428
biasChance
private final List<LongJumpToRandomPos$PossibleJump>
o
notPrefferedJumpCandidates
field_37429
unfavoredTargets
private boolean
p
currentlyWantingPreferredOnes
field_37430
useBias

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)
run(ServerWorld arg0, E arg1, long arg2)
protected Optional<LongJumpToRandomPos$PossibleJump>
a(ash arg0)
getJumpCandidate(ServerLevel arg0)
method_41336(class_3218 arg0)
removeRandomTarget(ServerWorld arg0)