net.minecraft.world.entity.ai.goal

public class TemptGoal

extends Goal

cfi
net.minecraft.world.entity.ai.goal.TemptGoal
net.minecraft.class_1391
net.minecraft.unmapped.C_klcypqlq
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.entity.ai.goal.TemptGoal

Field summary

Modifier and TypeField
private static final TargetingConditions
c
TEMPT_TARGETING
field_18090
f_nqsyxvxo
TEMPTING_ENTITY_PREDICATE
TEMPTING_TARGET_PREDICATE
private final TargetingConditions
d
targetingConditions
field_28404
f_arjvkkfc
predicate
predicate
protected final PathfinderMob
a
mob
field_6616
f_scbsiutq
mob
mob
private final double
e
speedModifier
field_6615
f_iddzhkui
speed
speed
private double
f
px
field_6614
f_stwralen
lastPlayerX
lastPlayerX
private double
g
py
field_6611
f_bfzketot
lastPlayerY
lastPlayerY
private double
h
pz
field_6621
f_hvntedfi
lastPlayerZ
lastPlayerZ
private double
i
pRotX
field_6619
f_imkviwrf
lastPlayerPitch
lastPlayerPitch
private double
j
pRotY
field_6618
f_twlffgvx
lastPlayerYaw
lastPlayerYaw
protected Player
b
player
field_6617
f_tfwxptmo
closestPlayer
closestPlayer
private int
k
calmDown
field_6612
f_fvikwscs
cooldown
cooldown
private boolean
l
isRunning
field_6613
f_gjozrwne
active
active
private final Predicate<ItemStack>
m
items
field_6622
f_nzazfudk
foodPredicate
food
private final boolean
n
canScare
field_6620
f_gcukblrx
canBeScared
canBeScared

Constructor summary

ModifierConstructor
public (PathfinderMob entity, double speed, Predicate<ItemStack> foodPredicate, boolean canBeScared)

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
m_njsjilur()
canStart()
canStart()
private boolean
a(bxe arg0)
shouldFollow(LivingEntity arg0)
method_6312(class_1309 arg0)
m_prlymqhz(C_usxaxydn arg0)
isTemptedBy(LivingEntity entity)
isTemptedBy(LivingEntity entity)
public boolean
c()
canContinueToUse()
method_6266()
m_trsyngvn()
shouldContinue()
shouldContinue()
protected boolean
h()
canScare()
method_16081()
m_qytkxnlv()
canBeScared()
canBeScared()
public void
d()
start()
method_6269()
m_koalcxuy()
start()
start()
public void
e()
stop()
method_6270()
m_vtbcctlg()
stop()
stop()
public void
a()
tick()
method_6268()
m_nfnryldq()
tick()
tick()
public boolean
i()
isRunning()
method_6313()
m_mgdyvbvj()
isActive()
isActive()