
Annotation Lib
The magic of annotations :)
This is a library to provide some operations powered by annotations.
Currently supported: Registration, Network Handler, Command System, Config System
NOTE: 1.20.1+ is the primary develop version. 1.17.1-1.19.2 only update with big change. 1.16.5- will not supported.
Maven?
See wiki for installation
How to use?
Common
For every registration class, add a entrypoint into fabric.mod.json
{
"entrypoints": {
"annotation_lib": [
"your class here"
],
"annotation_lib_client": [
"your client only class here"
],
"annotation_lib_server": [
"your server only class here"
]
}
}
Or you can use AnnotationApi.register(YourClass.class);.
Registration
You need to implement IAnnotatedRegistryEntry.
Network Handler
You need to implement IAnnotatedNetworkEntry.
Command System
You need to implement IAnnotatedNetworkEntry.
Config System
More recommended to use Cloth Config, this is just a simple one.
You need to implement IAnnotatedConfigEntry.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.17.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as annotationlib-1.0-1.17.1.jar — drop this file into the mods folder
- Download size: 76 KB
- Download link checked 30 Aug 2026 — working
These come from our own check of the pack file, not from the source page.