跳至主要內容

EntityEvents.checkSpawn

芒果凍布丁2025年3月29日小於 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/3/29 上午5:04:42
貢獻者: Mango