Zombie.

Discussion in 'Plugin Development' started by creepers84, Apr 9, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    creepers84

    Hiya Bukkiters,
    I wondered if anyone had any code snippets for me. I want to teleport a constantly invisible frozen zombie to the player (even when they move). If anyone has any code to start me off that would be great.. I just don't know how to do it efficiently.
    Thanks,
    creepers84.
     
  2. Offline

    Miro

    listen to PlayerMoveEvent and teleport the zombie to the to() location?

    Edit: you should probally only listen to location movement to teleport the zombie, so you won't teleport the zombie even if your head turns
     
  3. Offline

    creepers84

    Good points. I will try and test some functions.
     
Thread Status:
Not open for further replies.

Share This Page