net.minecraft.world.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.src.C_728_

Field summary

Modifier and TypeField
private static final TargetingConditions
d
TEMPT_TARGETING
field_18090
TEMPTING_ENTITY_PREDICATE
f_348491_
private static final double
e
DEFAULT_STOP_DISTANCE
field_59677
DEFAULT_RANGE
f_399869_
private final TargetingConditions
f
targetingConditions
field_28404
predicate
f_148137_
protected final Mob
a
mob
field_6616
mob
f_25924_
protected final double
b
speedModifier
field_6615
speed
f_25927_
private double
g
px
field_6614
lastPlayerX
f_25928_
private double
h
py
field_6611
lastPlayerY
f_25929_
private double
i
pz
field_6621
lastPlayerZ
f_25930_
private double
j
pRotX
field_6619
lastPlayerPitch
f_25931_
private double
k
pRotY
field_6618
lastPlayerYaw
f_25932_
protected Player
c
player
field_6617
closestPlayer
f_25925_
private int
l
calmDown
field_6612
cooldown
f_25933_
private boolean
m
isRunning
field_6613
active
f_25934_
private final Predicate<ItemStack>
n
items
field_6622
temptItemPredicate
f_25935_
private final boolean
o
canScare
field_6620
canBeScared
f_25936_
private final double
p
stopDistance
field_59678
range
f_399108_

Constructor summary

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

Method summary

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