Class MovementController

    • Field Detail

      • wantedX

        protected double wantedX
      • wantedY

        protected double wantedY
      • wantedZ

        protected double wantedZ
      • speedModifier

        protected double speedModifier
      • strafeForwards

        protected float strafeForwards
      • strafeRight

        protected float strafeRight
    • Constructor Detail

      • MovementController

        public MovementController​(MobEntity p_i1614_1_)
    • Method Detail

      • hasWanted

        public boolean hasWanted()
      • getSpeedModifier

        public double getSpeedModifier()
      • setWantedPosition

        public void setWantedPosition​(double p_75642_1_,
                                      double p_75642_3_,
                                      double p_75642_5_,
                                      double p_75642_7_)
      • strafe

        public void strafe​(float p_188488_1_,
                           float p_188488_2_)
      • tick

        public void tick()
      • isWalkable

        private boolean isWalkable​(float p_234024_1_,
                                   float p_234024_2_)
      • rotlerp

        protected float rotlerp​(float p_75639_1_,
                                float p_75639_2_,
                                float p_75639_3_)
      • getWantedX

        public double getWantedX()
      • getWantedY

        public double getWantedY()
      • getWantedZ

        public double getWantedZ()