NPC's with ProtocolLib?

Discussion in 'Spigot Plugin Development' started by gluebaby, May 6, 2017.

  1. Does anyone know how to spawn, hide, move, etc an NPC with protocolLib? Is it even possible?

    Where can I find a detailed tutorial on protocolLib?
  2. Photon


    It is possible but with a lot of effort.
    There is a public example of how to modify a player's equipment and how to hide one, but especially the last one is pretty complicated if you want only some players to see him. You can find examples on the GItHub page of ProtocolLib.
    Please notice that you should really have insight in java and the protocol of minecraft ( is very helpful here) before taking a look at ProtocolLib.
  3. I do, I just wonder if protocolLib for NPC's are better than reflection and nms.
  4. Photon


    Depends on what you want to do with it. Manipulation or hiding is for sure easier with ProtocolLib, when it comes to movement one could say it is a matter of debate.