net.minecraft.world.entity.ai.behavior

public class FollowTemptation

extends Behavior<PathfinderMob>

avs
net.minecraft.world.entity.ai.behavior.FollowTemptation
net.minecraft.class_5754
net.minecraft.entity.ai.brain.task.TemptTask
net.minecraft.src.C_141080_
net.minecraft.world.entity.ai.behavior.FollowTemptation

Field summary

Modifier and TypeField
public static final int
a
TEMPTATION_COOLDOWN
field_30115
TEMPTATION_COOLDOWN_TICKS
f_147482_
public static final double
c
CLOSE_ENOUGH_DIST
field_30116
field_30116
f_147483_
private final Function<LivingEntity, Float>
d
speedModifier
field_28316
speed
f_147484_

Constructor summary

ModifierConstructor
public (Function<LivingEntity, Float> speed)

Method summary

Modifier and TypeMethod
protected float
a(aud arg0)
getSpeedModifier(PathfinderMob arg0)
method_33196(class_1314 arg0)
getSpeed(PathAwareEntity entity)
m_147497_(C_533_ arg0)
private Optional<Player>
b(aud arg0)
getTemptingPlayer(PathfinderMob arg0)
method_33198(class_1314 arg0)
getTemptingPlayer(PathAwareEntity entity)
m_147508_(C_533_ arg0)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
isTimeLimitExceeded(long arg0)
m_7773_(long arg0)
protected boolean
a(abr arg0, aud arg1, long arg2)
canStillUse(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_33195(class_3218 arg0, class_1314 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6737_(C_12_ p_147495_, C_533_ p_147496_, long arg2)
protected void
b(abr arg0, aud arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_33197(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_147506_, C_533_ p_147507_, long arg2)
protected void
c(abr arg0, aud arg1, long arg2)
stop(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_33199(class_3218 arg0, class_1314 arg1, long arg2)
finishRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6732_(C_12_ p_147516_, C_533_ p_147517_, long arg2)
protected void
d(abr arg0, aud arg1, long arg2)
tick(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_33200(class_3218 arg0, class_1314 arg1, long arg2)
keepRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6725_(C_12_ p_147524_, C_533_ p_147525_, long arg2)