Mineuniverse
Log in Register
Mods

Annotated

Automated code generator for packets !
by LeBossMax2
Download Claim this project
441 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library

Annotated is at the same time a development tool and a library.

The tool includes an annotation processor that can generate code for you.

Features :

  • Generate packet class :

Annotated can generate a packet class from a "data" class (a class with fields for the data)

You can implement the IClientPacket interface to define what happens when the packet is received on the client and / or IServerPacket for the server.

Then just add the @GeneratePacket annotation to your class and Annotated will automatically generate a packet class with the correct constructor, the fromBytes and the toByte methods.

Examples : Simple example, Example with all data types

 

  • Generate a network class and register the packets :

Adding the @GenerateNetwork on your main class will generate a network with all your generated packets already registered.

Example : Test class

 

 

Annotated-1.12.2-1.0.jar
MC 1.9.1, 1.9.3, 1.9.4, 1.9.2, 1.12.1, 1.12, 1.10.2, 1.11, 1.10, 1.10.1, 1.11.1, 1.11.2, 1.9, 1.12.2
Beta 2019-07-07 Get

More from LeBossMax2

FactInventory
9,887
DecorativeFluidInjector
4,203

You Might Also Like

Fragmentum [NeoForge Edition]
The lightweight framework for the Obscuria Collection multi-loader mods
992,307
Iguana Lib
An iguana lib core for my mods.
992,164
Potentials
Library to allow mod developers to use cross platform capabilities
981,373
SDM Engine Core
The game engine in Minecraft!
980,484
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