Tensura Magic Growth
Tensura Magic Growth 是 Tensura Reincarnated 和 Manascore 的附加模组,通过环境魔力、母岩转化、水晶生长、自定义魔法晶洞以及由生物驱动的环境魔力增长来扩展魔法矿石的进度。
所需模组
- Tensura Reincarnated
- Manascore
特性
魔法矿石转化为母岩
当周围区块拥有足够的环境魔力时,魔法矿石和深板岩魔法矿石会逐渐转化为魔法矿石母岩。
当前行为:
- 转化率随区块魔力值按比例变化
- 低魔力区域仍能以极小的概率触发转化
- 高魔力区域的矿石转化更为可靠
- 每次成功的转化都会消耗区块内的魔力
- 区块扫描采用分批处理以降低性能开销
- 玩家移动后的矿石仍可被检测并转化
魔法矿石母岩生长
魔法矿石母岩以类似原版紫水晶芽的方式生长出水晶。
生长阶段:
- 小型魔法矿石芽
- 中型魔法矿石芽
- 大型魔法矿石芽
- 魔法矿石簇
当前行为:
- 仅使用可用的面进行生长,减少随机刻浪费
- 每一次成功的生长步骤都会消耗环境魔力
- 水晶按阶段生长,而非直接生成完整形态
- 水晶方块会发光,使地下晶洞更容易被发现
魔法晶洞
本模组添加了一个基于原版紫水晶晶洞结构的自定义魔法晶洞结构。
当前生成特征:
- 仅在 Tensura 主世界生物群系中生成
- 使用以方解石为主的内部壳层和以玄武岩风格为主的外部壳层
- 可生成少量以下物品:
- 资源密度已调低,以避免奖励过多
- 晶洞生成的稀有度可通过通用配置文件进行配置
生物对魔力的影响
拥有足够高 Tensura 魔力值的活体生物现在可以影响其所在的区块。
当前行为:
- 仅处理
LivingEntity 实例
- 系统按间隔更新,而非每刻都更新
- 每个生物更新自身的影响范围,而不是强制进行全区块生物扫描
- 高魔力生物通过基于存在感的进度系统逐渐积累环境影响力
- 该系统随着时间的推移增加当前区块的最大魔力值和再生速率
- 环境影响不会直接提升当前区块的魔力值
- 生物离开区块后,环境影响力会逐渐衰减
- 可配置的扩散率允许部分当前的环境增益传播到附近加载的区块
- 当区块重新加载时,区块数值会重新同步,帮助旧的异常数值回归预期范围
- 仍使用单生物和单区块上限以防止数值失控
高魔力怪物替换
高魔力区块现在可以将特定自然生成的怪物替换为白名单中稀有的 Tensura 怪物。
当前行为:
- 仅适用于自然生成
- 要求区块满足可配置的魔力阈值
- 使用可配置的替换概率
- 从通用配置文件中的白名单读取替换对
- 支持链式稀有度升级,例如:
tensura:orc -> tensura:orc_lord
tensura:black_spider -> tensura:knight_spider
tensura:slime -> tensura:metal_slime
tensura:metal_slime -> tensura:supermassive_slime
- 白名单故意隐藏在游戏内配置 GUI 之外,旨在直接在 TOML 文件中编辑
调试 HUD
提供客户端调试 HUD 用于测试环境魔力行为。
当前行为:
- 控制菜单中提供了切换快捷键
- 默认按键为
F8
- 显示当前区块魔力值、最大魔力值、再生速度、目标增益值和当前增益值
- 当右侧状态效果图标可见时,会自动向下移动
母岩掉落与挖掘规则
魔法矿石母岩在设计上力求在生存玩法中与魔法矿石的行为保持一致。
掉落行为:
- 使用精准采集时掉落自身
- 不使用精准采集时掉落魔法矿石碎片
- 抢夺附魔会影响碎片掉落数量
- 应用了正确的挖掘标签和矿石标签
配置
母岩转化、水晶生长、实体魔力影响以及魔法晶洞生成均可通过通用配置文件进行配置:
config/tensura_magic_growth-common.toml
可用设置包括:
- 魔法晶洞生成几率
- 开始母岩转化所需的最小魔力值
- 达到最大转化几率所需的魔力阈值
- 最小和最大转化几率
- 转化的魔力消耗
- 区块扫描间隔
- 母岩生长几率
- 每个芽和簇阶段的生长消耗
- 实体魔力影响间隔
- 实体魔力阈值、系数及贡献上限
- 实体影响力增长速率
- 实体再生转换比率
- 实体扩散率
- 生物替换启用标志
- 生物替换最小魔力值
- 生物替换概率
- 生物替换白名单
默认实体影响设置:
entityMagiculeInfluenceInterval = 20
entityMagiculeInfluenceMinMagicule = 100
entityMagiculeInfluenceFactor = 2.0
entityMagiculeInfluenceEntityCap = 1200
entityMagiculeInfluenceChunkCap = 10000
entityMagiculeInfluenceApproachRate = 0.2
entityMagiculeInfluenceRegenRatio = 0.02
entityMagiculeInfluenceDiffusionRate = 0.04
默认生物替换白名单:
tensura:orc>tensura:orc_lord
tensura:black_spider>tensura:knight_spider
tensura:slime>tensura:metal_slime
tensura:metal_slime>tensura:supermassive_slime
tensura:lesser_daemon>tensura:greater_daemon
tensura:greater_daemon>tensura:arch_daemon
多人游戏与服务器支持
该模组支持:
服务器安装还必须包含所有必需的依赖模组。
设计目标
本模组的目标不仅仅是添加另一种矿石变体,而是让环境魔力值在资源进化、探索和长期进展中发挥作用。高魔力值区域变得更有价值,玩家可以通过生物存在和由魔力驱动的世界互动,逐步塑造自己的富魔区域。
Tensura Magic Growth
Tensura Magic Growth is an add-on mod for Tensura Reincarnated and Manascore that expands magic ore progression through environmental magicule, mother rock conversion, crystal growth, custom magic geodes, and living-entity-driven environmental magicule growth.
Required Mods
- Tensura Reincarnated
- Manascore
Features
Magic Ore to Mother Rock Conversion
Magic ore and deepslate magic ore can gradually transform into Magic Ore Mother Rock when the surrounding chunk has enough environmental magicule.
Current behavior:
- Conversion chance scales with chunk magicule
- Low-magicule areas can still trigger conversion at a very small chance
- High-magicule areas convert ore more reliably
- Each successful conversion consumes chunk magicule
- Chunk scanning is processed in batches to reduce performance cost
- Player-relocated ore can still be detected and converted
Magic Ore Mother Rock Growth
Magic Ore Mother Rock grows crystals in a way inspired by vanilla budding amethyst.
Growth stages:
- Small Magic Ore Bud
- Medium Magic Ore Bud
- Large Magic Ore Bud
- Magic Ore Cluster
Current behavior:
- Growth uses available faces only, reducing wasted random ticks
- Every successful growth step consumes environmental magicule
- Crystals grow stage by stage instead of appearing fully formed
- Crystal blocks emit light, making geodes easier to spot underground
Magic Geodes
The mod adds a custom Magic Geode structure based on vanilla amethyst geodes.
Current generation traits:
- Generates only in Tensura overworld biomes
- Uses a calcite-focused inner shell and a basalt-style outer shell
- Can generate small amounts of:
- Magic Ore
- Magic Ore Mother Rock
- Magic Ore Blocks
- Resource density has been tuned down to avoid excessive rewards
- Geode generation rarity is configurable through the common config
Living Entity Magicule Influence
Living entities with sufficiently high Tensura magicule can now influence the chunk they are standing in.
Current behavior:
- Only
LivingEntity instances are processed
- The system updates on an interval instead of every tick
- Each entity updates its own influence instead of forcing full chunk-wide entity scans
- High-magicule entities gradually build up environmental influence through a presence-based progression system
- The system increases the maximum magicule and regeneration rate of the current chunk over time
- The current chunk magicule value is not directly raised by entity influence
- Environmental influence decays gradually after an entity leaves the chunk
- A configurable diffusion rate allows part of the current environmental bonus to spread into nearby loaded chunks
- Chunk values are resynced when chunks load again, helping old abnormal values settle back into the expected range
- Per-entity and per-chunk caps are still used to prevent runaway scaling
High Magicule Mob Replacement
High-magicule chunks can now replace specific naturally spawned mobs with whitelist-based rarer Tensura mobs.
Current behavior:
- Only applies to natural spawns
- Requires the chunk to meet a configurable magicule threshold
- Uses a configurable replacement chance
- Reads replacement pairs from a whitelist in the common config file
- Supports chained rarity upgrades such as:
tensura:orc -> tensura:orc_lord
tensura:black_spider -> tensura:knight_spider
tensura:slime -> tensura:metal_slime
tensura:metal_slime -> tensura:supermassive_slime
- The whitelist is intentionally hidden from the in-game config GUI and is meant to be edited directly in the TOML file
Debug HUD
A client-side debug HUD is available for testing environmental magicule behavior.
Current behavior:
- Toggle keybind is available in the Controls menu
- Default key is
F8
- Displays current chunk magicule, max magicule, regeneration, target bonus, and current bonus
- Automatically shifts downward when right-side status effect icons are visible
Mother Rock Drops and Mining Rules
Magic Ore Mother Rock is designed to behave close to magic ore in survival gameplay.
Drop behavior:
- Drops itself with Silk Touch
- Drops Magic Ore Shards without Silk Touch
- Fortune affects shard drops
- Proper mining tags and ore tags are applied
Configuration
Mother rock conversion, crystal growth, entity magicule influence, and magic geode generation are configurable through the common config file:
config/tensura_magic_growth-common.toml
Available settings include:
- Magic geode generation chance
- Minimum magicule required to start mother rock conversion
- Magicule threshold for maximum conversion chance
- Minimum and maximum conversion chance
- Conversion magicule cost
- Chunk scan interval
- Mother rock growth chance
- Growth cost for each bud and cluster stage
- Entity magicule influence interval
- Entity magicule threshold, factor, and contribution caps
- Entity influence approach rate
- Entity regeneration conversion ratio
- Entity diffusion rate
- Mob replacement enable flag
- Mob replacement minimum magicule
- Mob replacement chance
- Mob replacement whitelist
Default entity influence settings:
entityMagiculeInfluenceInterval = 20
entityMagiculeInfluenceMinMagicule = 100
entityMagiculeInfluenceFactor = 2.0
entityMagiculeInfluenceEntityCap = 1200
entityMagiculeInfluenceChunkCap = 10000
entityMagiculeInfluenceApproachRate = 0.2
entityMagiculeInfluenceRegenRatio = 0.02
entityMagiculeInfluenceDiffusionRate = 0.04
Default mob replacement whitelist:
tensura:orc>tensura:orc_lord
tensura:black_spider>tensura:knight_spider
tensura:slime>tensura:metal_slime
tensura:metal_slime>tensura:supermassive_slime
tensura:lesser_daemon>tensura:greater_daemon
tensura:greater_daemon>tensura:arch_daemon
Multiplayer and Server Support
The mod supports:
- Singleplayer
- LAN multiplayer
- Dedicated servers
Server installations must also include all required dependency mods.
Design Goal
The goal of this mod is not just to add another ore variant, but to make environmental magicule matter in resource evolution, exploration, and long-term progression. High-magicule areas become more valuable, and players can gradually shape their own magic-rich regions through creature presence and magicule-driven world interaction.
评论 0
登录后参与评分
还没有评论,来抢沙发吧