net.minecraft.world.entity.ai.goal

public class TemptGoal

extends Goal

baw
net.minecraft.world.entity.ai.goal.TemptGoal
net.minecraft.class_1391
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.src.C_728_
net.minecraft.world.entity.ai.goal.PathfinderGoalTempt

Field summary

Modifier and TypeField
private static final TargetingConditions
c
TEMP_TARGETING
field_18090
TEMPTING_ENTITY_PREDICATE
f_25926_
private final TargetingConditions
d
targetingConditions
field_28404
predicate
f_148137_
protected final PathfinderMob
a
mob
field_6616
mob
f_25924_
private final double
e
speedModifier
field_6615
speed
f_25927_
private double
f
px
field_6614
lastPlayerX
f_25928_
private double
g
py
field_6611
lastPlayerY
f_25929_
private double
h
pz
field_6621
lastPlayerZ
f_25930_
private double
i
pRotX
field_6619
lastPlayerPitch
f_25931_
private double
j
pRotY
field_6618
lastPlayerYaw
f_25932_
protected Player
b
player
field_6617
closestPlayer
f_25925_
private int
k
calmDown
field_6612
cooldown
f_25933_
private boolean
l
isRunning
field_6613
active
f_25934_
private final Ingredient
m
items
field_6622
food
f_25935_
private final boolean
n
canScare
field_6620
canBeScared
f_25936_

Constructor summary

ModifierConstructor
public (PathfinderMob entity, double speed, Ingredient food, boolean canBeScared)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
m_8036_()
private boolean
a(atu arg0)
shouldFollow(LivingEntity arg0)
method_6312(class_1309 arg0)
isTemptedBy(LivingEntity entity)
m_148138_(C_524_ arg0)
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
protected boolean
g()
canScare()
method_16081()
canBeScared()
m_7497_()
public void
c()
start()
method_6269()
start()
m_8056_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
public void
e()
tick()
method_6268()
tick()
m_8037_()
public boolean
h()
isRunning()
method_6313()
isActive()
m_25955_()