Civil-Adventure

A Civillis add-on module focused on adventure.
The undead that walk beneath the sun

The undead that walk beneath the sun

CC1111 Alpha:100

CC1111 Alpha:100

#00008B Alpha:180

#00008B Alpha:180

Description

AI-Assisted Creation · Made by Chinese Developers

Civil Adventure

English · 中文

A Civilization addon that adds Adventure Zones — the counterpart to civilization zones. Place blocks to generate adventure scores, which create adventure zones on the map, buff mobs inside them, and override civilization effects.


中文

Civil Adventure — 文礼冒险区拓展

Civil Adventure文礼 (Civillis) 的附属模组。放置冒险区方块产生冒险区分数,触发冒险区后在地图上显示特殊颜色,区域内怪物自动获得属性加成,离开后超时回收,同时顶掉文礼的文明区判定。


Features / 功能

🗺️ Adventure Zone / 冒险区

EN: Place adventure blocks to generate chunk scores via full-height scan + regional aggregation:

  • Intercepts Level.setBlock on block change, scans all 16 Y-layers
  • Auto-rescans on chunk load — scores persist across unloads
  • Aggregates all chunks within detection radius (default 3 chunks = 7×7 area)
  • Normalized: min(1.0, raw / 5.0), ≥ 0.7 triggers adventure zone
  • Breaking blocks reduces score; zone fades below threshold

CN: 放置冒险方块产生区块分数,方块变化时全高度 16 层扫描,区块加载自动重算。查询时聚合检测半径内所有区块,归一化分 ≥ 0.7 触发冒险区,破坏方块消退。

🏛️ Civil Native Zone Compatibility / 兼容文礼原生冒险区

EN: Mobs are also buffed inside Civil's ZONE (structure policies) and SHRINE (farm shrine) regions, no extra config needed.

CN: 兼容文礼 civil_zone_policies 定义的结构冒险区(ZONE)和祭坛(SHRINE),实体同样触发强化。

⚔️ Adventure vs Civilization / 冒险区 vs 文明区

EN: When active, adventure zones override Civil's civilization score to zero, achieving full mutual exclusion:

  • Mobs do not flee (FleeCivilizationGoal intercepted)
  • Mobs spawn normally (SpawnPolicy sees civ score = 0)
  • Civilization spread does NOT cover adventure zones
  • Xaeros minimap shows configurable adventure zone color

CN: 冒险区活跃时文明分被覆写为 0,怪物不逃逸、正常生成,文明扩散不覆盖冒险区。

👹 Entity Buffs / 实体强化

EN: Mobs inside adventure zones get configurable attribute modifiers and potion effects (supports both custom and Civil native zones).

  • TTL refresh: entities in zone keep touch()-ing their entry; attributes auto-retract after timeout
  • Configurable scan interval (default 100 ticks = 5s) and buff timeout (200 ticks = 10s)
  • Memory-safe: TimestampedEntry + periodic cleanupExpired(), plus LivingDeathEvent cleanup

CN: 冒险区内怪物获得配置的属性加成和药水效果。TTL 续期,离区超时回收,死亡即时清理。

🎯 Detector Integration / 文明探测器联动

EN: Adventure zone boundaries are visible on Civil's detector:

  • SonarScanMixin bi-directional BFS override (adventure → LOW in civ, → HIGH in wilderness)
  • Sonar boundary walls + particles work for adventure zones
  • Xaeros minimap color is configurable (with alpha)

CN: 文明探测器上可见冒险区边界墙和粒子效果,Xaeros 颜色可配置。

The Civil-Adventure Team

profile avatar
  • 1
    Projects
  • 52
    Downloads