### Updates in Minescript 5.0 alpha 2
This is the first step in calling Minescript script functions from
Pyjinn scripts, for example:
```
# pyjinn_test.pyj
Minescript = JavaClass("net.minescript.common.Minescript")
def call(func_name, args):
return Minescript.call(func_name, args.getJavaList())
print(call("player_get_targeted_block", [20]))
print(call("world_info", []))
print("minescript version:", call("version_info", []).get("minescript"))
call("echo", ["hello?"])
call("echo_json", ['{"text": "hello", "color": "green"}'])
call("execute", ["time set day"])
```
Follow-up changes will make the syntax more natural, allowing scripts
to call functions like `player_get_targeted_block(20)` directly.
Update version to 5.0a2.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }