SL23W35: Difference between revisions

From ETM
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 9: Line 9:
**Reuse registered NMSIds for each variant of a Fake
**Reuse registered NMSIds for each variant of a Fake
**Refactor NMS Initialization of Fakes to know which Ids should be registered without creating nms data at all
**Refactor NMS Initialization of Fakes to know which Ids should be registered without creating nms data at all
**'''Make sure NMS-Data is not initialized at all on server bootup before a player connects'''
**'''Make sure only the non-default data is sent initially for the DataWatcher to keep the state small'''
**'''Implement fake-batching to drastically reduce the packet-size as soon as MC allows us to (1.20.2)'''
*'''Test packet-batching for particle effects'''
**
**
**
*

Latest revision as of 12:00, 7 September 2023

◄ SL23W34 | SL23W36 ►


  • Larger refactor of NMS instantiation of FakeEntities
    • Remove reliance on NMS Entities completely, reduce memory footprint
    • Only use DataWatcher + PacketData
    • Lazy-Initialize NMS-State Data to reduce memory-footprint of multi-state FakeVariants
    • Reuse registered NMSIds for each variant of a Fake
    • Refactor NMS Initialization of Fakes to know which Ids should be registered without creating nms data at all