net.minecraft.entity.ai.goal

public class PlayerControlGoal

extends Goal

qw
net.minecraft.class_1398
net.minecraft.entity.ai.goal.PlayerControlGoal
net.minecraft.entity.ai.EntityAIControlledByPlayer

Field summary

Modifier and TypeField
private final MobEntity
a
field_5349
mob
thisEntity
private final float
b
field_5350
maxVelocity
maxSpeed
private float
c
field_5351
speed
currentSpeed
private boolean
d
field_5352
moving
speedBoosted
private int
e
field_5353
movingTicks
speedBoostTime
private int
f
field_5354
maxMovingTicks
maxSpeedBoostTime

Constructor summary

ModifierConstructor
public (MobEntity mob, float maxVelocity)

Method summary

Modifier and TypeMethod
public void
c()
method_2747()
start()
startExecuting()
public void
d()
method_2745()
stop()
resetTask()
public boolean
a()
method_2742()
canStart()
shouldExecute()
public void
e()
method_2746()
tick()
updateTask()
private boolean
a(afh arg0)
method_8381(class_197 arg0)
canStepOnto(Block block)
isStairOrSlab(Block blockIn)
public boolean
f()
method_4493()
isMoving()
isSpeedBoosted()
public void
g()
method_4494()
startMoving()
boostSpeed()
public boolean
h()
method_4495()
canStartMoving()
isControlledByPlayer()