Mineuniverse
Log in Register
Mods

AnnotationLib

The Magic Of Annotations :)
by IAFEnvoy
Download Claim this project
975 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library Utility & QoL

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.

Example Code

Network Handler

You need to implement IAnnotatedNetworkEntry.

Example Code

Command System

You need to implement IAnnotatedNetworkEntry.

Example Code

Config System

More recommended to use Cloth Config, this is just a simple one.

You need to implement IAnnotatedConfigEntry.

annotationlib-1.0-1.20.1.jar
MC Fabric, Client, 1.20.1, Server
Release 2024-05-29 Get
annotationlib-0.7.1.jar
MC Fabric, Client, 1.20.1, Server
Beta 2024-04-29 Get

More from IAFEnvoy

Origins JS
983
Jupiter
9,502,003
Create: Shape Craft
869
Title Screen Mobs
86,419
Resource Remover
86
Networking API
86

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314