promotional bannermobile promotional banner

Lib Network Stack

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

File Details

[1.15.2] 0.3.4

  • R
  • Feb 6, 2020
  • 106.29 KB
  • 529
  • 1.15.2
  • Fabric

File Name

libnetworkstack-base-0.3.4.jar

Supported Versions

  • 1.15.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:lib-network-stack-344482:2876347"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changes:

  • Updated to minecraft 1.15.2.
  • Added NetIdBase.withTinySize, withNormalSize, withLargeSize, withoutBuffering
    • These are equivalent to setTinySize (etc) but return the NetIdBase object itself.
  • Implemented NetIdBase.notBuffered() - now it actually does something!
    • Also allowed the buffering flag to be changed at any time - as it doesn't need to be stable over time.
  • Added NetIdBase.toClientOnly, toServerOnly, and toEitherSide:
    • These check to see if they are being sent from the correct side when sending them and check when they are received.