Skip to content

🦇 環境自然生成與權重調節 ​

📌 代碼倉庫原始碼免責聲明:本維基文件反映了倉庫當前的原始碼狀態,可能包含領先於 CurseForge 與 Modrinth 上公開發布版本的最新開發提交或未發布功能。

ParameterSpecification Details
Spawn Injector Mixinnet.vanillaoutsider.betterbats.mixin.NaturalSpawnerMixin
Surface Spawn Mixinnet.vanillaoutsider.betterbats.mixin.BatMixin.betterbats$onCheckBatSpawnRules
Mob CategoryMobCategory.AMBIENT
Vanilla Base Spawn Weight10
Mod Default Weight30 (better-bats:bat_spawn_weight)
Valid Surface Spawn Block Tag#minecraft:bats_spawnable_on
Surface Spawn Sky LightSky Light <= 7 (Nighttime or dark forest cover)

☕ 獨立開發者寄語:如果你喜歡蝙蝠逼真的三維群飛和鳥糞為莊稼施肥的生態體驗,歡迎在 Ko-fi 上支持我的獨立開發!


🌲 地表夜間生成機制 ​

In vanilla Minecraft, bats are restricted almost exclusively to dark underground depths. Better Bats extends spawning to the surface world during nighttime hours (Sky Light <= 7) over natural surface blocks (grass, leaves, stone), introducing twilight swarms outside caves.


🕳️ 洞穴生成權重動態替換 ​

The ambient spawner weight dynamically scales via better-bats:bat_spawn_weight:

$$P_{\text{spawn}} = \frac{W_{\text{bat}}}{\sum W_{\text{ambient}}}$$

Where $W_{\text{bat}}$ defaults to 30 (3x vanilla density), configurable without restarting the server.


Next: 動態遊戲規則參考表 | 蝙蝠生態與日間棲息

Official documentation & web portal for Dasik Igaijinn mods.