Links
Tags
Creators
Details
Licensed GPL-3.0-only
Published 9 months ago
Updated 5 months ago
All versions
6.1.0
Release
1.16.5-6.1.05 months ago 22
Uploaded by
Compatibility
Minecraft: Java Edition
1.16.5
Platform
Forge
Supported environments
Singleplayer only
Changes
ProbeJS Legacy 6.0.5 -> 6.1.0
- Fix import using
import { ... } from ...instead ofconst { ... } = require(...) - Formatted typing files can now be properly indented
- ProbeJS Legacy now provides a tree style output structure, just like ProbeJS 8. This can notably improve your KubeJS project init speed.
- Due to the new output structure, import path is also changed, but only if you use
require:const { $ArrayList } = require("java:java/util");- This change will not affect JS users and plugin developers
- KubeJS (1.16.5):
const $ArrayList = java("java.util.ArrayList"); - KubeJS (1.20.1):
const $ArrayList = Java.loadClass("java.util.ArrayList"); - Developer API keeps the same
- Interfaces will now be referred to as an abstract class, to make its behavior closer to Java. Interface class itself will use
$XXX$$Staticname, and only used in classimplements - New config format that uses simple JSON + JSON schema, for less confusion. Old config file can be automatically upgraded to new one.
- Fix some problem during mod scanning
- Add
checkJSdefault value, for easier overwriting - Static field/method now appear before non-static one
- [1.20.1] Fix deprecation doc for
require - Restore Mixin refmap for dev environment
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:KVw0Q70k:RNXmN0tJ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:KVw0Q70k:RNXmN0tJ"
}

