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 int
collisionCheckCooldown
private GhastEntity
ghast
Fields 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 void
tick()
private boolean
willCollide(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:
tick
in classMoveControl
-
willCollide
-