promotional bannermobile promotional banner

Lib Network Stack

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

File Details

[1.18.2] v0.6.3

  • R
  • Jun 18, 2022
  • 170.35 KB
  • 352
  • 1.18.2
  • Fabric + 1

File Name

libnetworkstack-base-0.6.3.jar

Supported 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"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

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.