JsComputer

Quick rating

JsComputer

No reviews yet

This mod adds a programmable in‑game computer featuring a simulated shell and a built‑in JavaScript interpreter.

Tech
Redstone Improvements
Mod Loaders
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
jscomputer-1.1.2.jar
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

JsComputer adds a fully programmable in‑game computer to Minecraft.
It features a simulated command‑line shell and a built‑in JavaScript interpreter, allowing players to write scripts, automate tasks, and create advanced logic systems directly inside the game.

This mod is designed to be simple for beginners yet powerful enough for experienced programmers.

Shell Commands

  • pwd         - Shows the current directory
  • clear       - Clears the terminal screen
  • date        - Displays the current date and time
  • ls          - Lists files (option: -l)
  • js          - Executes a JavaScript file
  • javascript  - Alias of js
  • cd          - Changes the current directory
  • cat         - Displays the contents of a file
  • touch       - Creates an empty file
  • mkdir       - Creates a directory (option: -p)
  • rm          - Deletes a file or directory (option: -r)
  • echo        - Prints text or writes to a file
  • cp          - Copies a file
  • mv          - Moves or renames a file
  • edit        - Opens the built‑in text editor
  • help        - Shows the help menu

JavaScript API

The core of JsComputer is its embedded JavaScript engine.
Players can write JavaScript code to automate tasks, interact with the world, and build custom logic.

You have access to certain native Java classes, including:

  • Integer
  • Long
  • Double
  • Float
  • Boolean
  • String
  • Character
  • Math
  • Random
  • Number
  • Objects
  • Array
  • Date
  • Calendar
  • TimeZone
  • Locale
  • LocalDate
  • LocalDateTime

In addition to standard Java classes, JsComputer also exposes custom APIs designed specifically for Minecraft scripting:

  • IO
    • print(text)
    • println(text)
    • readln()
    • readln(prompt)
  • Utils
    • sleep(ms)
    • getBlock(x,y,z) return the name of the block. Example: minecraft:dirt
    • getBlockRelative(x,y,z)
    • getDimension() return the name of the dimension
    • now() same as System.currentTimeMillis();
  • FS
    • createFile(path)
    • createFile(path, data)
    • createDirectory(path)
    • deleteFile(path)
    • deleteDirectory(path)
    • readFile(path)
    • writeFile(path, data)
    • appendFile(path, data)
    • moveFile(path, newPath)
    • copyFile(path, newPath)
    • listFiles(path)
    • isDirectory(path)
    • exists(path)
    • normalizePath(path)
  • Redstone
    • read()
    • read(side)
    • write(side, power)
    • write(power)
    • getOutput(side)
    • clear()
  • Net (only for version 1.1+)
    • get(urlStr) returns the URL response as an object with two parameters (code and body)

The API is sandboxed to keep gameplay safe and balanced.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works