SL23W35: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
**Only use DataWatcher + PacketData | **Only use DataWatcher + PacketData | ||
**Lazy-Initialize NMS-State Data to reduce memory-footprint of multi-state FakeVariants | **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 | |||
**'''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''' | **'''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)''' | **'''Implement fake-batching to drastically reduce the packet-size as soon as MC allows us to (1.20.2)''' |
Revision as of 23:45, 6 September 2023
- 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
- 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