net.minecraft.world.entity.ai.behavior

public class FollowTemptation

extends Behavior<PathfinderMob>

All mapped superinterfaces:

BehaviorControl

blk
net.minecraft.world.entity.ai.behavior.FollowTemptation
net.minecraft.class_5754
net.minecraft.unmapped.C_jazltyri
net.minecraft.entity.ai.brain.task.TemptTask
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
c
TEMPTATION_COOLDOWN
field_30115
f_pdruibeh
TEMPTATION_COOLDOWN_TICKS
TEMPTATION_COOLDOWN_TICKS
f_147482_
public static final double
d
DEFAULT_CLOSE_ENOUGH_DIST
field_45125
f_sgggdzsq
DEFAULT_STOP_DISTANCE
f_291480_
public static final double
e
BACKED_UP_CLOSE_ENOUGH_DIST
field_45126
f_szyhxkzq
LARGE_ENTITY_STOP_DISTANCE
f_291714_
private final Function<LivingEntity, Float>
f
speedModifier
field_28316
f_zmaetqsb
speed
speed
f_147484_
private final Function<LivingEntity, Double>
g
closeEnoughDistance
field_44704
f_gctmighe
stopDistanceGetter
f_283928_

Constructor summary

ModifierConstructor
public (Function<LivingEntity, Float> speed)
public (Function<LivingEntity, Float> speed, Function<LivingEntity, Double> stopDistanceGetter)

Method summary

Modifier and TypeMethod
protected float
a(bjp arg0)
getSpeedModifier(PathfinderMob arg0)
method_33196(class_1314 arg0)
m_yncwvpfb(C_hqdayibh arg0)
getSpeed(PathAwareEntity entity)
getSpeed(PathAwareEntity entity)
m_147497_(C_533_ arg0)
private Optional<Player>
b(bjp arg0)
getTemptingPlayer(PathfinderMob arg0)
method_33198(class_1314 arg0)
m_zuepeonh(C_hqdayibh arg0)
getTemptingPlayer(PathAwareEntity entity)
getTemptingPlayer(PathAwareEntity entity)
m_147508_(C_533_ arg0)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
m_eghfkoeo(long arg0)
isTimeLimitExceeded(long arg0)
isTimeLimitExceeded(long arg0)
m_7773_(long arg0)
protected boolean
a(akq arg0, bjp arg1, long arg2)
canStillUse(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_33195(class_3218 arg0, class_1314 arg1, long arg2)
m_titvimcp(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, PathAwareEntity 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(akq arg0, bjp arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_33197(class_3218 arg0, class_1314 arg1, long arg2)
m_ropyzlih(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity 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(akq arg0, bjp arg1, long arg2)
stop(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_33199(class_3218 arg0, class_1314 arg1, long arg2)
m_aetxhqqo(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
finishRunning(ServerWorld arg0, PathAwareEntity 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(akq arg0, bjp arg1, long arg2)
tick(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_33200(class_3218 arg0, class_1314 arg1, long arg2)
m_kepptmbg(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
keepRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
keepRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6725_(C_12_ p_147524_, C_533_ p_147525_, long arg2)