Skip to content

v3.1.3

Latest
Compare
Choose a tag to compare
@OmniacDev OmniacDev released this 26 Sep 14:15
· 3 commits to main since this release
  • proto files have been removed. If you previously used them, consider grabbing the ipc files and removing whatever you don't need. a420d18

  • the DirectIPC extension has been moved into it's own repo. It's also now available on NPM as @mcbe-ipc/direct. b7088f5

  • NET.FRAG_MAX can now be modified, as the 2048 byte limit for a scriptevent's message has been removed since 1.21.101. The default value is still 2048, and I recommend leaving it as that. From testing, setting it Infinity (so there is no fragmentation) causes an about 35% increase in the amount of time it takes. (to send the same data, it took 93205ms with 2048, and 125920ms with Infinity).

    If you do wish to modify it, you can do it like this:

    import { NET } from 'mcbe-ipc'
    
    NET.FRAG_MAX = Infinity // or whatever payload size you want to use

    e12b5a6

  • fix: lag spike when deserializing huge payloads, caused by slow Uint8Array constructor. 19ba92b

  • PROTO.ByteQueue has been renamed to PROTO.Buffer. ec43645

What's Changed

Full Changelog: v3.0.4...v3.1.3