net.minecraft.entity.ai.goal

public class LookAtEntityGoal

extends Goal

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

Field summary

Modifier and TypeField
protected MobEntity
a
field_3520
mob
theWatcher
protected Entity
b
field_3519
targetEntity
closestEntity
protected float
c
field_3521
range
maxDistanceForPlayer
private int
e
field_3522
lookTime
lookTime
private final float
f
field_3523
chance
chance
protected Class<? extends Entity>
d
field_3524
tagetType
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()
shouldExecute()
public boolean
b()
method_2744()
shouldContinue()
continueExecuting()
public void
c()
method_2747()
start()
startExecuting()
public void
d()
method_2745()
stop()
resetTask()
public void
e()
method_2746()
tick()
updateTask()