跳至主要內容

EntityEvents.checkSpawn

芒果凍布丁2025年5月25日小於 1 分鐘

/**
 * Invoked before an entity is spawned into the world.
 * 
 * Only entities from a `BaseSpawner` or world generation will trigger this event.
 */
function checkSpawn(extra: $ResourceKey$$Type<($EntityType<(object)>)>, handler: (event: $CheckLivingEntitySpawnKubeEvent) => void): void
function checkSpawn(handler: (event: $CheckLivingEntitySpawnKubeEvent) => void): void
上次編輯於: 2025/5/25 上午2:00:55
貢獻者: Mango