CurseForge · Minecraft mod
Annotated
Automated code generator for packets !
Quick answer
Which Annotated release should I use?
Annotated-1.12.2-1.0.jar targets 1.9.1, 1.9.3, 1.9.4. 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 Annotated 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 Annotated-1.12.2-1.0.jar need?
Annotated-1.12.2-1.0.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 Annotated without breaking your instance.
Built for Annotated-1.12.2-1.0.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use Annotated-1.12.2-1.0.jar. It targets 1.9.1, 1.9.3, 1.9.4; 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 Annotated-1.12.2-1.0.jar. It opens that exact file at the source.
About this project
What does Annotated add?
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
Project description from CurseForge.
Pick your setup
Annotated by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.12.1
1 loader build1.12
1 loader build1.11.2
1 loader build1.11.1
1 loader build1.11
1 loader build1.10.2
1 loader build1.10.1
1 loader build1.10
1 loader build1.9.4
1 loader build1.9.3
1 loader build1.9.2
1 loader buildShowing the newest 12 of 14 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Annotated versions and loaders
Annotated-1.12.2-1.0.jar
7 Jul 2019
Looking for an older file? The official CurseForge project page is in Resources.