I have been wondering how to-do this for a long while! I want to simulate something a bit like player death when playing the game Wasted? How would I do this with the npc library and could anyone give me a sample? Thanks - creepers84
He wants to spawn in the player in bed packet to make it look like the player is laying on the ground.
Use NPCLib, if it's updated to 1.7.9. If not then use the 1.7.8 version and then use HumanNPC#putInBed(Location loc) I believe it is.