Package net.minecraft.entity.mob
Class GhastEntity.GhastMoveControl
java.lang.Object
net.minecraft.entity.ai.control.MoveControl
net.minecraft.entity.mob.GhastEntity.GhastMoveControl
- Enclosing class:
- GhastEntity
static class GhastEntity.GhastMoveControl extends MoveControl
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.control.MoveControl
MoveControl.State -
Field Summary
Fields Modifier and Type Field Description private intcollisionCheckCooldownprivate GhastEntityghastFields inherited from class net.minecraft.entity.ai.control.MoveControl
entity, forwardMovement, sidewaysMovement, speed, state, targetX, targetY, targetZ -
Constructor Summary
Constructors Constructor Description GhastMoveControl(GhastEntity ghast) -
Method Summary
Modifier and Type Method Description voidtick()private booleanwillCollide(Vec3d direction, int steps)Methods inherited from class net.minecraft.entity.ai.control.MoveControl
changeAngle, getSpeed, getTargetX, getTargetY, getTargetZ, isMoving, moveTo, strafeTo
-
Field Details
-
ghast
-
collisionCheckCooldown
private int collisionCheckCooldown
-
-
Constructor Details
-
GhastMoveControl
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classMoveControl
-
willCollide
-