setSleepAnimation

abstract fun setSleepAnimation(player: Player, entityId: Int, sleeping: Boolean, bedLocation: Location?)