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

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