Minecraft Auto Network API Library Mod

I’ve tested a lot of Minecraft mods that sound cool on paper but feel kind of forgettable in-game. Minecraft Auto Network API Library Mod is more interesting than that, mostly because it actually changes how the world feels instead of just adding random clutter. 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 1.12.2 (Library Mod)
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.


Versions

Quick note: this is a fan-made Minecraft guide and is not an official Minecraft product or connected with Mojang/Microsoft.


Post a Comment