net.minecraft.world.entity.ai.goal

public class TemptGoal

extends Goal

cem
net.minecraft.world.entity.ai.goal.TemptGoal
net.minecraft.class_1391
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.world.entity.ai.goal.PathfinderGoalTempt

Field summary

Modifier and TypeField
private static final TargetingConditions
c
TEMPT_TARGETING
field_18090
TEMPTING_ENTITY_PREDICATE
private final TargetingConditions
d
targetingConditions
field_28404
predicate
protected final PathfinderMob
a
mob
field_6616
mob
private final double
e
speedModifier
field_6615
speed
private double
f
px
field_6614
lastPlayerX
private double
g
py
field_6611
lastPlayerY
private double
h
pz
field_6621
lastPlayerZ
private double
i
pRotX
field_6619
lastPlayerPitch
private double
j
pRotY
field_6618
lastPlayerYaw
protected Player
b
player
field_6617
closestPlayer
private int
k
calmDown
field_6612
cooldown
private boolean
l
isRunning
field_6613
active
private final Predicate<ItemStack>
m
items
field_6622
foodPredicate
private final boolean
n
canScare
field_6620
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()
canStart()
private boolean
a(bwg arg0)
shouldFollow(LivingEntity arg0)
method_6312(class_1309 arg0)
isTemptedBy(LivingEntity entity)
public boolean
c()
canContinueToUse()
method_6266()
shouldContinue()
protected boolean
h()
canScare()
method_16081()
canBeScared()
public void
d()
start()
method_6269()
start()
public void
e()
stop()
method_6270()
stop()
public void
a()
tick()
method_6268()
tick()
public boolean
i()
isRunning()
method_6313()
isActive()