promotional bannermobile promotional banner
premium banner
Groovy Language Provider for Minecraft Forge

Description

The Grooviest Language Provider in ForgeLand.

 

This language provider is a library for modders that allows them to write mods with the Groovy JVM language, instead of using Java. Groovy is both a dynamic and statically typed programming language

 

Currently supported Groovy version

- MC 1.19: 4.0.3

- MC 1.18.2: 4.0.11

 

Provided Modules

- Standard Library: The essential bits to allow Groovy to work.
- Ant: A Groovy interface to Apache Ant, for dependency management.
    - Removed in v1.1.0
- AST Builder: Captures AST builders from code statements.
- Contracts: Allows specification of invariants, pre-, and post-conditions.
- Date-Time: Groovy extensions for the Java Date-Time library.
- Date-Util: Groovy extensions for the older Java Date library.
- GINQ: LINQ-style collection querying interfaces.
- JSON: Read and write JSON with a Groovy-like interface.
- JSR223: Allows usage of GroovyScript in the Java Scripting Engine.
- JUnit 5 Test: Testing framework; useful in general or in scripting scenarios.
- Macro: Supports the usage of Groovy Macros.
- Macro Library: Additional Macro extensions.
- NIO: Extension methods to allow for NIO usage in a Groovy-like fashion.
- PicoCLI: Allows for compact CLI interfaces.
- Templates: Basic templating usage with a set of engines.
- Test: Testing framework; useful in general or in scripting scenarios.
- TOML: Read and write TOML with a Groovy-like interface.
- Type Checkers: Allows verification of regex.
- XML: Read and write XML with a Groovy-like interface.
- YAML: Read and write YAML with a Groovy-like interface.

 

Usage

If you're a modder, refer to the README on the GitHub project repository. If you're an end user, simply download this mod and put it in the mods directory.