Tags
Creators
Details
All versions
5.0b4
Beta
Minescript 5.0b415 months ago 19
Compatibility
Minecraft: Java Edition
1.21.7
Platform
NeoForge
Supported environments
Client-side
Changes
Docs
- For Pyjinn integration with Java and language compatibility with Python see minescript.net/pyjinn
- To set up Fabric mappings for Pyjinn scripts see minescript.net/mappings
Minescript 5.0b4
- Improve integration of Pyjinn embedded in Python (86820d8)
- Support running Pyjinn code within Python scripts (fc2eb1b)
- Update Pyjinn docs with JavaString and more (a25de73)
- Update to new Pyjinn APIs for JavaArray, JavaList (a6bcf16)
- Use built-in Exception type in Pyjinn scripts (ad06521)
- Update type-checking for java_call_method (3b02372)
- ManagedCallback for callbacks passed to Java APIs (0311b8a)
- Fix bug in key binds for Pyjinn scripts on Windows (34d27d9)
- Add java.py library and pyinterpreter.py script (ab6bfb5)
- Support listing official Java class member names (0f5f1cd)
- Halt Pyjinn script when killed by \killjob command (57c1689)
- Add
install_mappingsscript (418afa3) - Include more licensing information in mod jar (2cbb467)
- Relocate jar resources to match output paths (413996e)
- Fix NullPointerException when printing exception (1b04c12)
- Fix typo in log info message: s/Resovled/Resolved/ (4017bc3)
Pyjinn 0.8
- Add Script.exit() overload for implicit success (96078b3)
- Add convenience methods to Script: get/setVariable (d4c98d0)
- Implement sum() built-in function (7352443)
- str methods: strip, lstrip, rstrip, find, replace (8664e41)
- JavaArray/JavaList/JavaMap/JavaString, str funcs (61cf1c8)
- Make Exception a Pyjinn built-in type (636843f)
- Fix str.split(); overhaul method lookup mechanism (4f6d91d)
- Support callable Pyjinn objects with
__call__()(ef5cb7b) - Fix bug in
from x import *that imports__name__(1359db5) - Fix % operator for floating point and negative lhs (5d6d75b)
- Ensure Class<?> and JavaClass instances are 1:1 (4305ed2)
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:KcpXWngB:sL6t3Jt8"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:KcpXWngB:sL6t3Jt8"
}

