Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Why Mobs Can't Move by This Code?

Comments in 'Plugin Development' started by VanishedKevin, Dec 7, 2013.

  1. VanishedKevin
    Offline

    VanishedKevin Banned

    Joined:
    Aug 27, 2013
    Posts:
    279
    Minecraft User:
    VanishedKevin
    Why Mobs Can't Move by This Code?
    PHP:
    public function moveMob(){
    $e->speedX 16;
    $e->speedZ 24;
    $e->update();
    }
  2. SuperChipsLP
    Offline

    SuperChipsLP Active Member Plugin Developer

    Joined:
    Sep 15, 2013
    Posts:
    204
    Plugins:
    5
    Minecraft User:
    Redmol
    This has not been implemented to PocketMine, so it
    doesn't know how to update them. Or any other issue. I am
    not the right person to answer that question. :D
  3. VanishedKevin
    Offline

    VanishedKevin Banned

    Joined:
    Aug 27, 2013
    Posts:
    279
    Minecraft User:
    VanishedKevin
    Yes, you seems right.
    So I just manually update the position and broadcast the packet. XD

Share This Page

Advertisement