net.minecraft.world.entity.ai.goal

public class TemptGoal

extends Goal

axf
net.minecraft.world.entity.ai.goal.TemptGoal
net.minecraft.class_1391
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.server.v1_16_R3.PathfinderGoalTempt

Field summary

Modifier and TypeField
private static final TargetingConditions
c
TEMP_TARGETING
field_18090
TEMPTING_ENTITY_PREDICATE
field_220762_c
protected final PathfinderMob
a
mob
field_6616
mob
field_75284_a
private final double
d
speedModifier
field_6615
speed
field_75282_b
private double
e
px
field_6614
lastPlayerX
field_75283_c
private double
f
py
field_6611
lastPlayerY
field_75280_d
private double
g
pz
field_6621
lastPlayerZ
field_75281_e
private double
h
pRotX
field_6619
lastPlayerPitch
field_75278_f
private double
i
pRotY
field_6618
lastPlayerYaw
field_75279_g
protected Player
b
player
field_6617
closestPlayer
field_75289_h
target
private int
j
calmDown
field_6612
cooldown
field_75290_i
private boolean
k
isRunning
field_6613
active
field_75287_j
private final Ingredient
l
items
field_6622
food
field_151484_k
private final boolean
m
canScare
field_6620
canBeScared
field_75285_l

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
func_75250_a()
protected boolean
a(bmb arg0)
shouldFollowItem(ItemStack arg0)
method_6312(class_1799 arg0)
isTemptedBy(ItemStack stack)
func_188508_a(ItemStack arg0)
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
func_75253_b()
protected boolean
g()
canScare()
method_16081()
canBeScared()
func_220761_g()
public void
c()
start()
method_6269()
start()
func_75249_e()
public void
d()
stop()
method_6270()
stop()
func_75251_c()
public void
e()
tick()
method_6268()
tick()
func_75246_d()
public boolean
h()
isRunning()
method_6313()
isActive()
func_75277_f()