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
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
f_42457760
field_220762_c
ENTITY_PREDICATE
protected final MobEntityWithAi
a
field_6616
mob
mob
field_75284_a
creature
private final double
d
field_6615
speed
speed
field_75282_b
speed
private double
e
field_6614
lastPlayerX
targetX
field_75283_c
targetX
private double
f
field_6611
lastPlayerY
targetY
field_75280_d
targetY
private double
g
field_6621
lastPlayerZ
targetZ
field_75281_e
targetZ
private double
h
field_6619
lastPlayerPitch
targetPitch
field_75278_f
pitch
private double
i
field_6618
lastPlayerYaw
targetYaw
field_75279_g
yaw
protected PlayerEntity
b
field_6617
closestPlayer
player
field_75289_h
closestPlayer
private int
j
field_6612
cooldown
delay
field_75290_i
delayTemptCounter
private boolean
k
field_6613
active
active
field_75287_j
isRunning
private final Ingredient
l
field_6622
food
temptingItems
field_151484_k
temptItem
private final boolean
m
field_6620
canBeScared
scaredByMovement
field_75285_l
scaredByPlayerMovement

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()
canStart()
func_75250_a()
shouldExecute()
protected boolean
a(bce arg0)
method_6312(class_1799 arg0)
isTempedBy(ItemStack arg0)
isTempting(ItemStack item)
func_188508_a(ItemStack arg0)
isTempting(ItemStack stack)
public boolean
b()
method_6266()
shouldContinue()
shouldContinue()
func_75253_b()
shouldContinueExecuting()
protected boolean
g()
method_16081()
canBeScared()
m_21349728()
func_220761_g()
isScaredByPlayerMovement()
public void
c()
method_6269()
start()
start()
func_75249_e()
startExecuting()
public void
d()
method_6270()
stop()
stop()
func_75251_c()
resetTask()
public void
e()
method_6268()
tick()
tick()
func_75246_d()
tick()
public boolean
h()
method_6313()
isActive()
isActive()
func_75277_f()
isRunning()