Minecraft Auto Network API Library Mod
Minecraft Auto Network Lib is a library that automatically serializes network packets. Modders must manually serialize and deserialize all fields in a packet when developing network code. This library will take care of it for you, so you won't have to write any boilerplate code. In a packet, you simply need to declare fields. Because networking code in Minecraft runs on a different thread from the main game thread, you must schedule tasks in the main thread and handle everything there before proceeding. This library arranges tasks in the main thread automatically.
| Auto Network API (Library Mod) |
This library supports serialization for the following data types out of the box: int, long, float, double, boolean, String, NBTTagCompound, ItemStack, char, byte, short, Character, Byte, Short, BlockPos, Vec3d, Color3f, Integer, Long, Float, Double, Boolean, String, NBTTagCompound, ItemStack, char, byte, short, Character, By The following generic Java collections may be serialized automatically using this library: List, ArrayList, Stack, Vector, LinkedList, Set, HashSet, Map<T, K>, HashMap<T, K>. This software can automatically serialize any type of array, although only one-dimensional arrays are presently supported. This library may serialize supported generic collections within other supported generic collections automatically.
- Automatic serialization and deserialization of fields in a network packet.
- Automatic packet handling in the 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 a generic collection inside the generic collection.
- Can serialize any Enum.
- Optimized for performance.
Comments