MidnightLib Mod for Minecraft 1.19.2, 1.19.1 and 1.19, is an essential add-on for running some Minecraft mods. That is to say, in the case of installing only MidnightLib, it would be of no use in the game, since it will be essential to install other mods.
To run a game with MidnightLib, it will be necessary to follow the steps shown in the following paragraphs of this page, but it is important to remember that this add-on by itself would not be useful in the case of running a game.
The first step will be to download and install Fabric and Fabric API, as it is an essential modification when running some Minecraft mods. Then, it will be necessary to download both MidnightLib, as well as the desired mods that require its use, which in this case, must be located in the “mods” folder, inside the game location “.minecraft”.