Quickstart
Generate the zip, extract it, build Weed once, then build the generated mod project.
.\gradlew.bat --no-daemon buildAll
.\gradlew.bat build packageWeedMod
Weed
Minecraft Java 26.1.2
Fill the basics, choose the starter hooks, and download a ready-to-build Weed mod project.
Docs
Search the essentials: entrypoints, manifests, events, logging, packaging, install paths, and the current mixin status.
Generate the zip, extract it, build Weed once, then build the generated mod project.
.\gradlew.bat --no-daemon buildAll
.\gradlew.bat build packageWeedMod
The manifest tells Weed how to discover your mod, which Minecraft version it targets, and what class to load.
{
"id": "my_mod",
"minecraftVersion": "26.1.2",
"entrypoint": "com.example.MyMod"
}
Implement `WeedMod`, keep your setup inside `onInitialize`, and register event listeners through `ModContext`.
public final class MyMod implements WeedMod {
public void onInitialize(ModContext context) {
context.getEventBus().register(this);
}
}
Open the searchable API document for every public interface, event, metadata view, logger, and mixin annotation.
Open API docsUse `@SubscribeEvent` for lifecycle, tick, player, and block break hooks exposed by the current Weed runtime.
@SubscribeEvent
public void onTick(TickEvent event) {
logger.debug("Tick " + event.getTick());
}
Weed writes `.txt` logs under `.minecraft/logs` and exposes terminal logging from the Weed Settings button.
%APPDATA%\.minecraft\logs\weed-*.txt
The template creates a jar in `build/weed-dist`. Copy it into the Weed mods folder before launching.
%APPDATA%\.minecraft\mods\weed
The generator can scaffold a mixin config and marker class. Runtime mixin support is still experimental in this branch.
"mixins": ["mixin.my_mod.json"]
No docs matched that search.
Version Registry
Each branch can publish a `versions.web.weed` file. The generator scans branches, reads that file, and builds the selectable Minecraft, Weed API, and loader version lists automatically.
Steps
GitHub Pages setup: push this repo, open GitHub repository settings, go to Pages, select the `26.1.2` branch and `/docs` folder, then save. The site will be served from the Pages URL GitHub shows you.
Open full generator docs