Update README.md

This commit is contained in:
Artemy 2023-06-22 17:40:16 +03:00
parent 683b960f68
commit 3218993d51

View file

@ -4,7 +4,7 @@
[![Build Status](https://travis-ci.com/Pierce01/MinecraftLauncher-core.svg?branch=master)](https://travis-ci.com/Pierce01/MinecraftLauncher-core)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![version](https://img.shields.io/badge/stable_version-3.17.1-blue)
![version](https://img.shields.io/badge/stable_version-1.2.1-blue)
![badge](https://img.shields.io/badge/ncurses-not_supported-purple)
PiMi (Minecraft Launcher Core) is a NodeJS solution for launching modded and vanilla Minecraft without having to download and format everything yourself.
@ -223,6 +223,15 @@ PiMi's authenticator module does not support Microsoft authentication. You will
| `debug` | String | Emitted when functions occur, made to help debug if errors occur |
| `progress` | Object | Emitted when files are being downloaded in order. (Assets, Forge, Natives, Classes) |
#### Utils functions
| Function Name | Type | Description |
| ------------------- | ------ | ---------------------------------------------------------------------- |
| `getVersions` | String | Returns all versions of the Minecraft |
| `getLatestVersion` | String | Returns the latest version number of the Minecraft. |
| `getLatestRelease` | String | Returns the latest Minecraft version release number |
| `getLatestSnapshot` | String | Returns the latest Minecraft snapshot version number of the Minecraft. |
#### What should it look like running from console?
The `pid` is printed in console after the process is launched.