跳至主要內容

EntityEvents.spawned

芒果凍布丁2025年4月8日小於 1 分鐘

/**
 * Invoked when an entity is about to be added to the world.
 * 
 * This event also fires for existing entities when they are loaded from a save.
 */
function spawned(extra: $ResourceKey$$Type<($EntityType<(object)>)>, handler: (event: $EntitySpawnedKubeEvent) => void): void
function spawned(handler: (event: $EntitySpawnedKubeEvent) => void): void

貢獻者