ientitypacketcollectionloadingservice
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ientitypacketcollectionloadingservice [2026/04/25 17:20] – created diviner | ientitypacketcollectionloadingservice [2026/04/25 17:26] (current) – diviner | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== IEntityPacketCollectionLoadingService ===== | ===== IEntityPacketCollectionLoadingService ===== | ||
| - | This service' | + | This service' |
| - | Broadcasts Events: [[EntityPacketCollectionLoadingStartedTopic]], | + | **Broadcasts Events:** [[EntityPacketCollectionLoadingStartedTopic]], |
| === Methods === | === Methods === | ||
| - | ^Method | Task LoadEntityPacketCollection([[Chunk]] chunk, [[EntityPacketCollection]] entityPacketCollection, | + | ^Method | Task **LoadEntityPacketCollection**([[Chunk]] chunk, [[EntityPacketCollection]] entityPacketCollection, |
| - | ^Description | Loads all valid serialized [[Entity|Entities]] from the supplied [[EntityPacketCollection]] into the specified [[Chunk]]. The method starts a coroutine that performs loading in three passes: filtering and creating entity instances, deserializing entity packet data, and broadcasting entity creation for valid entities. Packets with missing static data IDs or unresolved static data are skipped. Entities that are created but fail packet deserialization are destroyed. Progress is broadcast during loading according to the configured loading frequency. The containsEncodedPackets boolean is used to instruct how the entity | + | ^Description | Loads all valid serialized [[Entity|Entities]] from the supplied [[EntityPacketCollection]] into the specified [[Chunk]]. Progress is broadcast during loading according to the configured loading frequency. The containsEncodedPackets boolean is used to instruct how the [[Entity]] |
ientitypacketcollectionloadingservice.1777137611.txt.gz · Last modified: by diviner
