your current location:首页 > news>Auto Network Lib Minecraft

Auto Network Lib Minecraft

2024-12-15 02:53:08|Myriagame |source:minecraft skins

Auto Network Lib is an automatic network data packet serialization library.

Features:

The automatic serialization and counter -serialization of the field in the network data package

Automatic data package processing in the main thread

The serialization program for built -in most common data type

You can add your own serialization program for the type that is not supported by default

Can serialize the common list

Can be serialized universal set

Can serialize universal mapping

Can serialize Java array

Can be serialized generated alpate collection

Can serialize any enumeration

Optimized for performance

Description: When writing the network code, Modders needs to manually serialize and all fields in the packets in the packet.The library can be executed automatically, so you don't need to write a model code.You only need to declare the field in the packet.The network code in Minecraft and the main game thread operate in a separate thread, so before performing any operation, you need to arrange tasks in the main thread and handle all of them.The library automatically dispatchs the task in the main thread.In order to open the box, use this library to support the serialization of the following data types: int, long, float, double, Boolean, Integer, Long, Float, Double, Boolean, String, NBTTAGCOMPOUND, ITEMSTACK, CHAR, BYTE, SHORACTER, Character, Character Byte,SHORT, BLOCKPOS, VEC3D, Color3f This library can automatically serialize the general Java collection below: list , ArrayList , Stack , Vector , LinkedList , set , HashSet T>, MAP , HashMap K> K> K> K> K> K> can automatically serialize any type of array, but currently only supports one -dimensional array.This library can automatically serialize the generic sets supported by other supported generic sets.For example, it can serialize the following data types: HashMap >, List >>, Hashmap , List > Optimized performance.After the reflection is not required, the reflection is used once when the first serialization of the packet is used once.

Minecraft images

The goal of MC Encyclopedia (MCMOD.CN) is to provide players with a better environment for MOD learning and research, and accept and cultivate more hardcore players.Provide Minecraft (Minecraft) MOD (module) item data introduction, tutorial strategy and MOD download, and is committed to improving the player's game experience.About the encyclopedia Encyclopedia help development log Donate Encyclopedia to follow the encyclopedia B station = "Fa Fa-Anagle-Right"> Opinions feedback Email © CopyRight Mc Encyclopedia 2013-2024 mcmod.cn |

Minecraft images

Minecraft images

In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.