promotional bannermobile promotional banner

Lib Network Stack

Pure library mod: used by other mods (namely LibMultiPart and thus SimplePipes)
Back to Files

[1.18.2] v0.6.3

File namelibnetworkstack-base-0.6.3.jar
Uploader
AlexIILAlexIIL
Uploaded
Jun 18, 2022
Downloads
364
Size
170.4 KB
Mod Loaders
FabricQuilt
File ID
3836794
Type
R
Release
Supported game versions
  • 1.18.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:lib-network-stack-344482:3836794"

Quilt

modImplementation "curse.maven:lib-network-stack-344482:3836794"

Learn more about Curse Maven

What's new

Changes:

  • Bumped Minecraft requirement to 1.18.2.
  • Added "passthrough" mode to "NetByteBuf", which is useful for using "CheckingNetByteBuf"s for regular minecraft packets.
  • Added initial backend support for "NetworkDrainCleaner", a work-in-progress full network debugging tool based on LNS.
  • Added "BlockEntityInitialData.getPlayersWatching( [BlockEntity] | [ServerWorld, BlockPos] )", which is used to workaround BlockEntity data getting sent too early.
  • Changed InternalMsgUtil.wrapFullPayload to always check for packets that are too long even when "-ea" isn't specified as a JVM option.
  • Changed debug types to use a "LARGE" packet size (3 bytes for length) rather than "NORMAL" (2 bytes)

Bugfixes:

  • Fixed InternalMsgUtil.onReceive not catching netty's "CodecException" as well.
  • Fixed InternalMsgUtil.onReceive not allowing the usage of "ByteBuf.mark()" inside packet reading / writing
  • Fixed NetIdBase.set[Tiny|Normal|Large]Size() methods not working.
  • Improved CoreMinecraftNetUtils handling of null or invalid connections.

This mod has no additional files