ientityspawnloadingservice
Differences
This shows you the differences between two versions of the page.
| ientityspawnloadingservice [2026/04/25 17:34] – created diviner | ientityspawnloadingservice [2026/04/25 17:35] (current) – diviner | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== IEntitySpawnLoadingService ===== | ===== IEntitySpawnLoadingService ===== | ||
| - | This service' | + | This service' |
| **Broadcasts Events:** [[EntitySpawnLoadingStartedTopic]], | **Broadcasts Events:** [[EntitySpawnLoadingStartedTopic]], | ||
| Line 8: | Line 8: | ||
| === Methods === | === Methods === | ||
| ^Method | Task **LoadEntitySpawns**([[EntitySpawn]][] entitySpawns, | ^Method | Task **LoadEntitySpawns**([[EntitySpawn]][] entitySpawns, | ||
| - | ^Description | Loads all valid [[EntitySpawn|EntitySpawns]] into the specified [[Chunk]]. The method first unwraps the supplied spawn collection, including nested child spawns, into a flat list while preserving hierarchy information. Spawns with missing static data IDs, unresolved static data, or missing transform data are skipped. If no valid spawns are found, nothing happens. Loading | + | ^Description | Loads all valid [[EntitySpawn|EntitySpawns]] into the specified [[Chunk]]. Loading runs through a coroutine in three stages: entity creation, transform parenting, and entity creation broadcasting. Progress is broadcast during loading according to the configured loading frequency. | |
ientityspawnloadingservice.txt · Last modified: by diviner
