net.minecraft.world.entity.ai.goal

public class TemptGoal

extends Goal

cel
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
net.minecraft.src.C_728_
net.minecraft.world.entity.ai.goal.PathfinderGoalSwell

Field summary

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

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()
m_8036_()
private boolean
a(bwf arg0)
shouldFollow(LivingEntity arg0)
method_6312(class_1309 arg0)
m_prlymqhz(C_usxaxydn arg0)
isTemptedBy(LivingEntity entity)
isTemptedBy(LivingEntity entity)
m_148138_(C_524_ arg0)
public boolean
c()
canContinueToUse()
method_6266()
m_trsyngvn()
shouldContinue()
shouldContinue()
m_8045_()
protected boolean
h()
canScare()
method_16081()
m_qytkxnlv()
canBeScared()
canBeScared()
m_7497_()
public void
d()
start()
method_6269()
m_koalcxuy()
start()
start()
m_8056_()
public void
e()
stop()
method_6270()
m_vtbcctlg()
stop()
stop()
m_8041_()
public void
a()
tick()
method_6268()
m_nfnryldq()
tick()
tick()
m_8037_()
public boolean
i()
isRunning()
method_6313()
m_mgdyvbvj()
isActive()
isActive()
m_25955_()