CurseForge · Minecraft mod
Auto Network Lib
Network message serialization library
Quick answer
Which Auto Network Lib release should I use?
Auto Network Lib autonetworklib-1.12.2-1.0.45.jar targets 1.12.2 with Forge. 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 Auto Network Lib 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 Auto Network Lib autonetworklib-1.12.2-1.0.45.jar need?
autonetworklib-1.12.2-1.0.45.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 Auto Network Lib without breaking your instance.
Built for Auto Network Lib autonetworklib-1.12.2-1.0.45.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use autonetworklib-1.12.2-1.0.45.jar. It targets 1.12.2 with Forge; 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 autonetworklib-1.12.2-1.0.45.jar. It opens that exact file at the source.
About this project
What does Auto Network Lib add?
Auto Network Lib is an automatic network packet serialization library.
Features:
- Automatic serialization and deserialization of fields in a network packet
- Automatic packet handling in main thread
- Built in serializers of most common data types
- You can add your own serializer for a type that is not supported by default
- Can serialize generic lists
- Can serialize generic sets
- Can serialize generic maps
- Can serialize java arrays
- Can serialize generic collection inside generic collection
- Can serialize any Enum
- Optimized for perfomance
Description
When writing network code modders need to manually serialize and deserialize all fields in a packet. This library can do it automatically so that you don't have to write boiler plate code. You only need to declare fields in a packet. Networking code in Minecraft is running in a separate thread from main game thread and because of this before doing anything you need to schedule task in main thread and handle everything in there. This library automatically schedules task in main thread. Out of the box this library supports serialization for following data types: int, long, float, double, boolean, Integer, Long, Float, Double, Boolean, String, NBTTagCompound, ItemStack, char, byte, short, Character, Byte, Short, BlockPos, Vec3d, Color3f This library can automatically serialize following generic java collections: List<T>, ArrayList<T>, Stack<T>, Vector<T>, LinkedList<T>, Set<T>, HashSet<T>, Map<T,K>, HashMap<T,K> This library can automatically serialize arrays of any type but currently only one dimensional arrays supported. This library can automatically serialize supported generic collections inside of other supported generic collections. For example it can serialize following data types: HashMap<Integer, List<Integer>>, List<List<List<String>>>, HashMap<List<String>, List<Integer>> Optimized for perfomance. Reflection is used only once on first serialization of packet after that no reflection is needed. Also it uses method handles instead of reflection to read and write data which is faster then access via reflection.
Project description from CurseForge.
Pick your setup
Auto Network Lib by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Auto Network Lib versions and loaders
autonetworklib-1.12.2-1.0.45.jar
23 May 2021
autonetworklib-1.12.2-1.0.44.jar
23 May 2021
autonetworklib-1.12.2-1.0.43.jar
23 May 2021
autonetworklib-1.12.2-1.0.42.jar
23 May 2021
autonetworklib-1.12.2-1.0.39.jar
25 Oct 2020
autonetworklib-1.12.2-1.0.38.jar
28 Mar 2020
autonetworklib-1.12.2-1.0.36.jar
1 Jul 2019
autonetworklib-1.12.2-1.0.35.jar
4 Jun 2019
autonetworklib-1.12.2-1.0.34.jar
4 Jun 2019
autonetworklib-1.12.2-1.0.33.jar
4 Jun 2019
autonetworklib-1.12.2-1.0.32.jar
3 Jun 2019
autonetworklib-1.12.2-1.0.31.jar
3 Jun 2019
Looking for an older file? The official CurseForge project page is in Resources.