No description
  • JavaScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-06 00:46:14 +01:00
available-packages added reload and replace commands 2026-10-06 00:46:14 +01:00
bootstrap error messages for loading and unloading 2026-10-05 09:06:43 +01:00
client silly me forgot the server entry point 2026-10-04 21:58:58 +01:00
server silly me forgot the server entry point 2026-10-04 21:58:58 +01:00
.gitignore progress on command creator 2026-09-26 00:14:39 +01:00
.oxfmtrc.json initial commit 2026-09-05 23:22:58 +01:00
jsconfig.base.json package defined preludes 2026-09-15 22:44:55 +01:00
jsconfig.json progress on command creator 2026-09-26 00:14:39 +01:00
jscore.d.ts command registration done 2026-09-27 14:08:24 +01:00
master.config.json a better newCommand 2026-09-27 16:15:58 +01:00
README.md devtool loading also gets suggestions 2026-10-06 00:34:24 +01:00
typedoc.json WIP package loader API 2026-09-11 21:20:02 +01:00

Bootstrap dependency graph

---
config:
---

flowchart LR
client/index.js --> loader.js
loader.js --> client/*
loader.js --> files.js
loader.js --> prelude.js
loader.js --> moduleIndex.js
client/* --> api.js
api.js --> moduleIndex.js
moduleIndex.js --> files.js
moduleIndex.js --> manifest.js
prelude.js --> files.js
prelude.js --> moduleIndex.js
manifest.js --> semver.js
manifest.js --> files.js
moduleIndex.js --> dag.js

Todo

  • Commands
    • Server commands
    • Suggestions
    • Require gating
  • Devtools
    • Loading/unloading modules from available-packages into client or server

I will not be including the .d.ts files in this repo because they are huge.

To generate them, run dtsgen with config that looks like

{
  "out": "../scripts/types",
  "sources": [
    {
      "jar": "~/.gradle/caches/.../minecraft-merged.jar",
    },
    {
      "jar": "${JAVA_HOME}/jmods/java.base.jmod",
    },
    {
      "jar": "~/.gradle/caches/.../fabric-loader-0.19.3.jar",
    },
    {
      "jar": "fabric-api.jar",
    },
    {
      "jar": "~/.gradle/caches/.../commons-io-2.20.0.jar",
    },
  ],
  "classpathOnly": [],
  "jsdoc": "params",
  "registry": "full",
  "scope": {
    "opaque": [],
    "exclude": [
      "sun.**",
      "jdk.**",
      "com.sun.**",
      "javax.**",
      "java.security.**",
      "java.lang.classfile.**",
      "java.lang.invoke.**",
      "java.lang.module.**",
      "java.lang.ref.**",
      "java.lang.reflect.**",
      "java.nio.channels.**",
      "java.nio.charset.**",
      "net.fabricmc.loader.impl.**",
    ],
  },
}