net.minecraft.entity.ai.goal

public class TemptGoal

extends Goal

yl
net.minecraft.class_923
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.entity.ai.EntityAITempt
net.minecraft.entity.ai.EntityAITempt

Field summary

Modifier and TypeField
private final PathFinderMobEntity
a
field_3608
mob
field_75284_a
temptedEntity
private final double
b
field_6865
speed
field_75282_b
speed
private double
c
field_3610
targetX
field_75283_c
targetX
private double
d
field_3611
targetY
field_75280_d
targetY
private double
e
field_3612
targetZ
field_75281_e
targetZ
private double
f
field_3613
targetPitch
field_75278_f
pitch
private double
g
field_3614
targetYaw
field_75279_g
yaw
private PlayerEntity
h
field_3615
player
field_75289_h
temptingPlayer
private int
i
field_3616
delay
field_75290_i
delayTemptCounter
private boolean
j
field_3617
active
field_75287_j
isRunning
private final Set<Item>
k
field_14593
temptingItems
field_151484_k
temptItem
private final boolean
l
field_3619
scaredByMovement
field_75285_l
scaredByPlayerMovement

Constructor summary

ModifierConstructor
public (PathFinderMobEntity entity, double speed, Item temptItem, boolean scaredByMovement)
public (PathFinderMobEntity entity, double speed, boolean scaredByMovement, Set<Item> temptingItems)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
func_75250_a()
shouldExecute()
protected boolean
a(aip arg0)
method_13103(class_1071 arg0)
isTempting(ItemStack item)
func_188508_a(ItemStack arg0)
isTempting(ItemStack stack)
public boolean
b()
method_2744()
shouldContinue()
func_75253_b()
shouldContinueExecuting()
public void
c()
method_2747()
start()
func_75249_e()
startExecuting()
public void
d()
method_2745()
stop()
func_75251_c()
resetTask()
public void
e()
method_2746()
tick()
func_75246_d()
updateTask()
public boolean
f()
method_2766()
isActive()
func_75277_f()
isRunning()