Mineuniverse
Log in Register
Mods

JsComputer

This mod adds a programmable in‑game computer featuring a simulated shell and a built‑in JavaScript interpreter.
by TNTJEEP
Download Claim this project
415 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Redstone Technology

 

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.

 

 

jscomputer-1.1.2.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-06-23 Get
jscomputer-1.0.1.jar
MC Client, 1.21.1, NeoForge, Server
Beta 2026-03-30 Get
jscomputer-1.0.jar
MC Client, 1.21.1, NeoForge, Server
Alpha 2026-03-30 Get

More from TNTJEEP

project-933007
88
Stuff addition
314
Create: Chemical
105

You Might Also Like

Rope Bridge
Ever wanted to build a rope bridge to an inaccessible area? With Rope Bridge, you can!
9,737,029
Ender IO Forestry
Forestry integration module for a modular Ender IO installation
998,058
Immersive Industry (1.16/1.20)
Introduce more various process and energy production machines to Immersive Engineering.
978,517
[IV/MTS] Q.M.P [Qawsed Military pack]
Military armor NATO and SOVIET Army
97,945
CreepTech
Technology + Adventure
9,965
[Immersive Vehicles] Ghost Corporation (Ghostride)
Pack for Immersive Vehicles, adds cars from my imagination
9,960