How to spawn a fake player?

Discussion in 'Plugin Development' started by Mr360zack, Apr 19, 2014.

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

    Mr360zack

    How to spawn a fake player?

    I am clueless on how to do this. I just want to spawn a player and be able to give him an invis potion and des pawn him? Help! Thanks.
     
  2. Offline

    clmcd42

    Spawning in fake player's would get them auto-disconnected for loss of connection i think.
     
  3. Offline

    TigerHix

  4. There's two ways you can go about it. You can use Packets to spawn a player, which would require a lot more work to make it do anything, or you could create a HumanEntity and spawn that.
     
    Konkz likes this.
  5. Offline

    Mr360zack

    How would I go about spawning it? World.spawnEntity?
     
Thread Status:
Not open for further replies.

Share This Page