Tags
Creators
Details
All versions
5.0b10
Beta
Minescript 5.0b109 months ago 307
Compatibility
Minecraft: Java Edition
1.21.8
Platform
Fabric
Supported environments
Client-side
Required content
Any compatible version
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.0b10
- Update Pyjinn docs to include EventLoop (1a3810e)
- Implement EventLoop class for Pyjinn scripts (d680374)
- Support disabling Pyjinn compilation (default on) (152b158)
- Compile Pyjinn scripts to bytecode instructions (0a3efe1)
Pyjinn 0.13
- Support compilation of Pyjinn code to instructions executed via virtual machine
- Support dict.clear() in PyjDict (b6396a3)
- Make Generator and Coroutine top-level classes (863145d)
- Support
asyncfunctions andawaitexpressions (964d92e) - Throw exception if value passed to Generator.send() (c367c4f)
- Support
yield fromand Generator.send(...) (28447f1) - Optimize compiled code for ListComprehension (5d4e7b3)
- Support passing generator to list and set ctors (10761ed)
- Support calling next() on generator from Java (53a0d94)
- Set generator's caller each time next is called (7c3446d)
- Support 'for' loops over generators (1224336)
- Support generators, yield expressions with next() (2b7050b)
- Support builtins iter(), next(), StopIteration (fdd4409)
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:jSivQ66H"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:KcpXWngB:jSivQ66H"
}

