Austin's Powerful Language Provider
The coolest language provider in the Forge world.
This library provides mod developers with the ability to use the Groovy programming language instead of standard Java when creating content for Minecraft. Groovy is a hybrid language that supports both dynamic and static typing.
Supported Groovy Versions
For Minecraft 1.18.2, Groovy version 4.0.11 is available
Included Modules
The library includes an extensive set of modules:
- Standard Library: Basic components for Groovy operation
- AST Builder: Capture of AST trees from code constructs
- Contracts: Definition of invariants, preconditions, and postconditions
- Date-Time: Extensions for working with modern Java Date-Time library
- Date-Util: Extensions for legacy Java Date library
- GINQ: Interfaces for collection queries in LINQ style
- JSON: Reading and writing JSON with Groovy-like interface
- JSR223: Usage of GroovyScript in Java Scripting Engine
- JUnit 5 Test: Testing framework
- Macro: Support for Groovy macros
- Macro Library: Additional macro extensions
- NIO: Extension methods for using NIO in Groovy style
- PicoCLI: Creation of compact CLI interfaces
- Templates: Basic templating with a set of engines
- Test: Testing framework
- TOML: Reading and writing TOML with Groovy-like interface
- Type Checkers: Verification of regular expressions
- XML: Reading and writing XML with Groovy-like interface
- YAML: Reading and writing YAML with Groovy-like interface
Usage
Developers should refer to the README in the project repository on GitHub. Regular users only need to download the mod and place it in the mods folder.