All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Allium

Allium

by hugeblank • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Allium Logo

Github Stars Lua script loader for Java Minecraft.

Currently, only functioning and in development in Fabric, with the intent of supporting Forge/Quilt later on down the road.

Installing

Allium installs just like any other Fabric mod. Depending on the scripts you use, they may depend on Bouquet, an additional mod that adds libraries to make scripting easier. Much like Fabric API, this mod is independent and not built into the loader side of Allium and must be downloaded individually.

If you'd like to use Allium or Bouquet to extend functionality of your own Java mod, publications can be found on the Moongarden Maven.

Scripts

In the same place that you create your mods directory, create a folder named allium. This is where your lua scripts will go. They may come in the form of a .zip, but may be expanded, and put into a regular directory if you'd like to tinker with them. If you're at all familiar with the Resource/Data Pack structure, then you'll know that this is similar.

Documentation

How to Install Allium (Mod)

Allium by hugeblank is verified for Fabric across Minecraft versions 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6 (latest release: 0.5.0, file size: 709 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Allium file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.4-snapshot-1 26.3.x 26.2.x +2
Fabric
8mo ago 1
1.21.x 1.20.x 1.19.4
Fabric
last yr. 1
1.21.x 1.20.x 1.19.4
Fabric
last yr. 1
[0.5.0] Allium 0.5.0 by hugeblank on Mar 24, 2026
Download
# Allium Beta 0.5.0

This update is a complete overhaul from the prior version. Much of the fundamental behaviors remains the same, but the engine behind those behaviors has been changed. Furthermore most all of the APIs have been overhauled in one way or another. For specific documentation please see the [Allium Docs](https://allium.moongarden.dev/).

Major items have been given a title in bold.

## Features

  • Mixin Support**: Lua developers can now write Java mixins in Lua. While it is possible for all mixin injector types to be created, support in the API has been primarily given to the following annotations:
  • @Inject
  • @ModifyArg
  • @ModifyArgs
  • @ModifyExpressionValue
  • @ModifyReturnValue
  • @WrapMethod
  • @Definition
  • @Expression
  • @Cancellable
  • @Local
  • @Share
  • Class Builder Scope**: The methods provided to a class being built now have access to private methods on themselves, and protected methods on parent classes via the self keyword.
  • Java Library Additions**:
  • Java primitive types can now be accessed through the java library using the primitive name (ex. java.boolean)
  • Add method java.callWith(). Forces a method invocation with the provided parameter type list, instead of inferring them from the parameters.
  • Add method java.coerce(). Coerces an object that inherits from either Collection or Map into a table.
  • Add method java.wrap(). Forcibly wraps a primitive value in one of the Java wrapper classes.
  • Add method java.throw(). Throws a provided exception.
  • Add the mixin manifest entrypoint. Used to declare mixins before the game launches.
  • Add method script:registerReloadable(), expects a require-like path to a file that will be executed whenever the script's reload method is called.
  • The __len metamethod is now provided on all objects where a Java .size() method or .length field is present. This means that any object with either can now have their size inspected with the # prefix.

## Changes

  • Class Builder Overhaul**: The class builder API is now a factory pattern, where methods get chained together to build out the class. At the very end a table matching the specified class methods is supplied.
  • The allium and java APIs have been moved from Bouquet to here.
  • Java arrays no longer unidirectionally get converted to tables and instead are given a metatable that wraps the array in table-like functionality.
  • The game environment that was previously accessed with package.environment is now accessed with the allium.environment() function.
  • The static manifest entrypoint has been renamed to main
  • A wider range of java specific utility types are now supported during coercion.
  • Error messages are substantially more detailed.

## Removals
...
[0.4.0] 0.4.0 by hugeblank on Mar 13, 2025
Download
  • Remove individual per-environment script entrypoints
  • Add package.environment to compensate for the removal mentioned above. Use package.environment == "client" in a conditional to isolate logic that's only meant to be run on the client.
  • Add mappings field to manifest.json. Currently the only available option is "yarn", but expect that to change soon!
[0.3.1] 0.3.1 by hugeblank on Mar 11, 2025
Download
Initial Public Release of Allium
Allium Icon
Download Allium
Select game version
Select platform