Tags
Creators
Details
All versions
5.0b9
Beta
Minescript 5.0b98 months ago 1,555
Compatibility
Minecraft: Java Edition
1.21.8
Platform
Fabric
Supported environments
Client-side
Required content
Changes
Docs
- For Pyjinn integration with Java and language compatibility with Python see minescript.net/pyjinn
- To set up Fabric mappings for Python and Pyjinn scripts see minescript.net/mappings
Minescript 5.0b9
- Fix tab completion for overlapping command names (5930d92)
- Support globs in command_path, pyjinn_import_path (bce4a43)
- Support pyjinn_import_path config variable (2dc6319)
- Update PyjObject.callMethod -> UNDEFINED_RESULT (07a42e5)
- Pyjinn tuple/list/dict/set as PyjObject subclasses (459ea27)
- Update Pyjinn docs for set, JavaSet, and others (abf2ded)
- Rename pyinterpreter config .pyinterpreter_init.py (838240a)
- Add nominal defs of Pyjinn built-ins for IDEs (38889f1)
- Update documentation of Pyjinn numeric types (20ec3f9)
- Document Pyjinn numeric types and conversions (67a7a1d)
- Update Minescript to 5.0b9 and Pyjinn to 0.12 (8819a6f)
Pyjinn 0.12
- Support
setoperators:<, <=, >, >=(33996c0) - Add operator overloading for user-defined classes (c834c3e)
- Simplify PyjObject::callMethod -> UNDEFINED_RESULT (2083748)
- PyjTuple/PyjList/PyjDict/PyjSet subclass PyjObject (2e3f63a)
- Implement Pyjinn set (98f5838)
- Fix comparisons with None on lhs: None == "foo" (0d74a12)
- Implement walrus operator, e.g.
(x := 1)(8a57b14) - Prevent PyjInt from being directly instantiated (70f8d2d)
- Default ctors: float, int, str, JavaFloat, JavaInt (181fb4f)
- Make Pyjinn int act as superclass of Java int/long (f370dcc)
- Make JavaFloat an instance of JavaClass (2179e58)
- Refactor interpreter tests to AST vs Script tests (2f9ea64)
- Support pow operator:
x ** y(aade911) - Support 2nd arg to int(value, base=10) (057d51c)
- Add JavaInt(), JavaFloat(), float auto-conversion (f9443a6)
- Support comparison operators for tuple and list (d40ed47)
- Update Pyjinn version to 0.12 (ed4d968)
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:OfTd02Uu"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:KcpXWngB:OfTd02Uu"
}

