net.minecraft.entity.ai.goal

public class LookAtEntityGoal

extends Goal

xl
net.minecraft.class_902
net.minecraft.entity.ai.goal.LookAtEntityGoal
net.minecraft.entity.ai.EntityAIWatchClosest
net.minecraft.entity.ai.EntityAIWatchClosest

Field summary

Modifier and TypeField
protected MobEntity
a
field_3520
mob
field_75332_b
entity
protected Entity
b
field_3519
targetEntity
field_75334_a
closestEntity
protected float
c
field_3521
range
field_75333_c
maxDistance
private int
e
field_3522
lookTime
field_75330_d
lookTime
private final float
f
field_3523
chance
field_75331_e
chance
protected Class<? extends Entity>
d
field_3524
tagetType
field_75329_f
watchedClass

Constructor summary

ModifierConstructor
public (MobEntity mob, Class<? extends Entity> targetType, float range)
public (MobEntity mob, Class<? extends Entity> targetType, float range, float chance)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
func_75250_a()
shouldExecute()
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()