net.minecraft.entity.ai.goal

public class TemptGoal

extends Goal

ciq
net.minecraft.world.entity.ai.goal.TemptGoal
net.minecraft.class_1391
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.unmapped.C_klcypqlq
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.src.C_728_

Field summary

Modifier and TypeField
private static final TargetPredicate
d
TEMPT_TARGETING
field_18090
TEMPTING_ENTITY_PREDICATE
f_nqsyxvxo
TEMPTING_TARGET_PREDICATE
f_348491_
private static final double
e
DEFAULT_STOP_DISTANCE
field_59677
DEFAULT_RANGE
f_vpimlgmo
f_399869_
private final TargetPredicate
f
targetingConditions
field_28404
predicate
f_arjvkkfc
predicate
f_148137_
protected final MobEntity
a
mob
field_6616
mob
f_scbsiutq
mob
f_25924_
protected final double
b
speedModifier
field_6615
speed
f_iddzhkui
speed
f_25927_
private double
g
px
field_6614
lastPlayerX
f_stwralen
lastPlayerX
f_25928_
private double
h
py
field_6611
lastPlayerY
f_bfzketot
lastPlayerY
f_25929_
private double
i
pz
field_6621
lastPlayerZ
f_hvntedfi
lastPlayerZ
f_25930_
private double
j
pRotX
field_6619
lastPlayerPitch
f_imkviwrf
lastPlayerPitch
f_25931_
private double
k
pRotY
field_6618
lastPlayerYaw
f_twlffgvx
lastPlayerYaw
f_25932_
protected PlayerEntity
c
player
field_6617
closestPlayer
f_tfwxptmo
closestPlayer
f_25925_
private int
l
calmDown
field_6612
cooldown
f_fvikwscs
cooldown
f_25933_
private boolean
m
isRunning
field_6613
active
f_gjozrwne
active
f_25934_
private final Predicate<ItemStack>
n
items
field_6622
temptItemPredicate
f_nzazfudk
food
f_25935_
private final boolean
o
canScare
field_6620
canBeScared
f_gcukblrx
canBeScared
f_25936_
private final double
p
stopDistance
field_59678
range
f_amfttubz
f_399108_

Constructor summary

ModifierConstructor
public (PathAwareEntity entity, double speed, Predicate<ItemStack> temptItemPredicate, boolean canBeScared)
public (PathAwareEntity entity, double speed, Predicate<ItemStack> temptItemPredicate, boolean canBeScared, double range)
(MobEntity entity, double speed, Predicate<ItemStack> temptItemPredicate, boolean canBeScared, double range)

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
canStart()
m_njsjilur()
canStart()
m_8036_()
private boolean
a(cam arg0)
shouldFollow(LivingEntity arg0)
method_6312(class_1309 arg0)
isTemptedBy(LivingEntity entity)
m_prlymqhz(C_usxaxydn arg0)
isTemptedBy(LivingEntity entity)
m_148138_(C_524_ arg0)
public boolean
c()
canContinueToUse()
method_6266()
shouldContinue()
m_trsyngvn()
shouldContinue()
m_8045_()
protected boolean
h()
canScare()
method_16081()
canBeScared()
m_qytkxnlv()
canBeScared()
m_7497_()
public void
d()
start()
method_6269()
start()
m_koalcxuy()
start()
m_8056_()
public void
e()
stop()
method_6270()
stop()
m_vtbcctlg()
stop()
m_8041_()
public void
a()
tick()
method_6268()
tick()
m_nfnryldq()
tick()
m_8037_()
protected void
i()
stopNavigation()
method_70685()
stopMoving()
m_mwnvonnk()
m_401493_()
protected void
a(cut arg0)
navigateTowards(Player arg0)
method_70684(class_1657 arg0)
startMovingTo(PlayerEntity player)
m_ohrhmbtc(C_jzrpycqo arg0)
m_ohrhmbtc(PlayerEntity player)
m_403711_(C_1141_ arg0)
public boolean
k()
isRunning()
method_6313()
isActive()
m_mgdyvbvj()
isActive()
m_25955_()