net.minecraft.entity.ai.goal

public class TemptGoal

extends Goal

aoi
net.minecraft.class_1391
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.entity.ai.goal.TemptGoal

Field summary

Modifier and TypeField
private static final TargetPredicate
c
field_18090
TEMPTING_ENTITY_PREDICATE
field_220762_c
protected final MobEntityWithAi
a
field_6616
mob
field_75284_a
private final double
d
field_6615
speed
field_75282_b
private double
e
field_6614
lastPlayerX
field_75283_c
private double
f
field_6611
lastPlayerY
field_75280_d
private double
g
field_6621
lastPlayerZ
field_75281_e
private double
h
field_6619
lastPlayerPitch
field_75278_f
private double
i
field_6618
lastPlayerYaw
field_75279_g
protected PlayerEntity
b
field_6617
closestPlayer
field_75289_h
private int
j
field_6612
cooldown
field_75290_i
private boolean
k
field_6613
active
field_75287_j
private final Ingredient
l
field_6622
food
field_151484_k
private final boolean
m
field_6620
canBeScared
field_75285_l

Constructor summary

ModifierConstructor
public (MobEntityWithAi arg0, double arg1, Ingredient arg2, boolean arg3)
public (MobEntityWithAi arg0, double arg1, boolean arg2, Ingredient arg3)

Method summary

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