Package net.minecraft.entity.mob
Class PhantomEntity.PhantomMoveControl
java.lang.Object
net.minecraft.entity.ai.control.MoveControl
net.minecraft.entity.mob.PhantomEntity.PhantomMoveControl
- Enclosing class:
- PhantomEntity
class PhantomEntity.PhantomMoveControl 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 floattargetSpeedThe movement speed that the phantom tends towardsFields inherited from class net.minecraft.entity.ai.control.MoveControl
entity, forwardMovement, sidewaysMovement, speed, state, targetX, targetY, targetZ -
Constructor Summary
Constructors Constructor Description PhantomMoveControl(MobEntity owner) -
Method Summary
Modifier and Type Method Description voidtick()Methods inherited from class net.minecraft.entity.ai.control.MoveControl
changeAngle, getSpeed, getTargetX, getTargetY, getTargetZ, isMoving, moveTo, strafeTo
-
Field Details
-
targetSpeed
private float targetSpeedThe movement speed that the phantom tends towards
-
-
Constructor Details
-
PhantomMoveControl
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classMoveControl
-