setSleepAnimation
Sends a sleep animation packet for an entity at the given location to the player.
Parameters
player
The target player.
entityId
The entity to put to sleep.
location
The location of the bed.
Sends a sleep animation packet for an entity at the given location to the player.
The target player.
The entity to put to sleep.
The location of the bed.