Mineuniverse
Mods
Annotated

Annotated

MOD
Automated code generator for packets !
by LeBossMax2
Download Claim this project
458 downloads
0 likes
Updated Oct 14, 2026
0 hypes
API and Library
Advertisement Remove ads with Premium →

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

Advertisement Remove ads with Premium →

You Might Also Like