minecraft-java-decomp
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

minecraft-java-decomp

NPM version Build Status Gitpod ready-to-code

minecraft-java-decomp provides an API and command line interface (CLI) to decompile and deobfuscate Minecraft Java Edition game versions, using Mojang mappings.

minecraft-java-decomp is similar to DecompilerMC which is written in Python.

Installation

npm install -g minecraft-java-decomp

Usage (CLI)

npx minecraft-java-decomp --help
minecraft-java-decomp - v1.0.0
Minecraft Java Edition decompiler and deobfuscator
Options:
  --version, -v Version to decompile. For latest release, try "release" or "snapshot" for latest snapshot
  --side        "server" or "client"  (default: client)
  --path        Path to save the decompiled files. Defaults to an internal folder for this package.
  --force       Force fresh download and decompile even if the version folder already exists
  --versions    Passing --versions will list all versions
  --clean       Clear the internal version cache (where versions are decompiled to if you did not specify a decompiler output path). No other actions will be taken.
Usage:
  minecraft-java-decomp --version latest         Decompile latest version
  minecraft-java-decomp --versions               List all available versions
  minecraft-java-decomp -v 12w16a --side server  Download and decompile server version 12w16a

Usage (API)

const { decompile } = require('minecraft-java-decomp');
decompile('1.20.0', {
  side: 'client',
  path: './decompiled',
  force: false
})

See the typescript types for more information on the options.

Readme

Keywords

Package Sidebar

Install

npm i minecraft-java-decomp

Weekly Downloads

40

Version

1.0.2

License

MIT

Unpacked Size

20.5 kB

Total Files

14

Last publish

Collaborators

  • extremeheat