
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@bauxite/launcher-api-forge
Advanced tools
> Provides high-level API for managing Forge Minecraft client instances. > Works as a plugin for `launcher-api`. > Designed to be consumed by `launcher-ui` and `launcher-cli`.
Provides high-level API for managing Forge Minecraft client instances. Works as a plugin for
launcher-api
. Designed to be consumed bylauncher-ui
andlauncher-cli
.
$ yarn add @bauxite/launcher-api-forge
or
$ npm install --save @bauxite/launcher-api-forge
All methods described below return a Promise unless otherwise specified. "Return" implies the Promise having been resolved, and "throw" implies the Promise having been rejected.
getForgeVersions
(async)Fetch a list of all available versions of Forge.
Returns an array of objects, each representing a version of Forge, comprising:
ID
: The version number, i.e. 14.23.1.2555
build
: The build numberminecraftVersionID
: The supported version of Minecraftbranch
: Usually null
─ the branch on which this version was releasedreleasedAt
: A Date
object representing the time this version was releseddownloads
: An array of objects, each representing a build artefact for this version. Each object contains:
ID
: A unique identifier for this build, comprising the version ID
, and the download name
name
: The type of build artefact, i.e. universal
, installer
or mdk
path
: The filename of the build artefactsha1
: A SHA1 hash of the build artefacturl
: The remote URL from which the artefact can be downloadedlatest
: If true, this is the latest unstable available buildrecommended
: If true, this is the latest recommended available buildThe versions are in descending order of released date (releasedAt
).
getForgeVersionsByID
(async)Finds a version of Forge by its ID.
ID
: The version ID to fetch details forReturns an element of the array returned by getForgeVersions
, or null
if the supplied ID
does not match any versions.
getForgeVersionsForMinecraftVersion
(async)Finds all versions of Forge that are compatible with the supplied Minecraft version.
versionID
: The Minecraft version IDReturns a subset of the array returned by getForgeVersions
, or an empty array if no compatible versions exist.
installForge
(async)Installs (or updates) Forge to a Bauxite-managed Minecraft instance.
directory
: The directory of the Minecraft instance to install Forge toforgeVersionID
: The version ID of Forge to installReturns an object identical to that of getInstance
from launcher-api
, with
the addition of a forgeVersionID
field. For example:
{
"ID": "twitchy-creeper-23",
"directory": "/home/<user>/.bauxite/instances/twitchy-creeper-23",
"versionID": "1.12.2",
"forgeVersionID": "14.23.1.2555"
}
Launching Forge instances is handled by startInstance
in launcher-api
─ only
the method for generating launch arguments is augmented to allow this.
generateForgeLaunchArguments
(async)An override for generateLaunchArguments
, automatically called when launching
Forge-enabled instances.
Accepts a single parameter of an object with the 3 following fields:
instance
: An object representing the instance to launch, as returned by getInstance
from launcher-api
.profile
: An object representing the user profile to launch with, as returned by the getProfile
methods from launcher-api
.version
: An object representing the version manifest of the instance, as returned by getVersionManifest
from launcher-api
.An array of command-line arguments to pass to the Java executable installed on the system, such that the Forge instance will be launched.
FAQs
> Provides high-level API for managing Forge Minecraft client instances. > Works as a plugin for `launcher-api`. > Designed to be consumed by `launcher-ui` and `launcher-cli`.
The npm package @bauxite/launcher-api-forge receives a total of 0 weekly downloads. As such, @bauxite/launcher-api-forge popularity was classified as not popular.
We found that @bauxite/launcher-api-forge demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.