CurseForge · Minecraft mod
AnnotationLib
The Magic Of Annotations :)
Quick answer
Which AnnotationLib release should I use?
annotationlib-1.0-1.20.1.jar targets 1.20.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is AnnotationLib required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does annotationlib-1.0-1.20.1.jar need?
annotationlib-1.0-1.20.1.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add AnnotationLib without breaking your instance.
Built for annotationlib-1.0-1.20.1.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use annotationlib-1.0-1.20.1.jar. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside annotationlib-1.0-1.20.1.jar. It opens that exact file at the source.
About this project
What does AnnotationLib add?
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.
Project description from CurseForge.
Pick your setup
AnnotationLib by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.19.4
1 loader build1.18.2
1 loader build1.17.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
AnnotationLib versions and loaders
annotationlib-1.0-1.20.1.jar
29 May 2024
annotationlib-1.0-1.19.4.jar
29 May 2024
annotationlib-1.0-1.18.2.jar
29 May 2024
annotationlib-1.0-1.17.1.jar
29 May 2024
annotationlib-0.7.1.jar
29 Apr 2024
Looking for an older file? The official CurseForge project page is in Resources.