Spawning Fake Player (Interactable)ProtocolLib

Discussion in 'Plugin Development' started by Code0, Apr 3, 2015.

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

    Code0

    The idea is simple. I'd like to spawn a "fake" player entity (or humanentity if you prefer), and be able to do anything I want with it (teleport, add potioneffect), and most importantly make it act just like another player. (aka the fake player should be able to get hit).

    Thanks in advance.
     
  2. Offline

    teej107

    @Code0 The idea is simple but actually doing it is not. Spawning fake players is annoying to do. I would recommend a api/lib for this.
     
  3. Offline

    Code0

    @teej107 Ik, I was gonna put (ProtocolLib) in the title but decided not to. Well, I'll edit title real quick. Do you have the experience to tell me how to do it?
     
  4. Offline

    teej107

    @Code0 Unfortunately I do not. The only player spawning I've done is with the Citizens API.
     
Thread Status:
Not open for further replies.

Share This Page