简短描述
LMfix 是一款适用于 Legendary Monsters 2.1.15 的 Forge 1.20.1 兼容性与配置模组。它通过 JSON 配置文件暴露 Boss 防御机制,便于整合包和服务器的平衡调整。
详细描述
LMfix 允许整合包作者和服务器管理员在不修改 Legendary Monsters 本身的情况下,配置多种 Legendary Monsters Boss 防御机制。它可以控制药水效果、伤害上限、投射物免疫、无敌帧、伤害减免、伤害适应、自然恢复、反作弊检查、返回重生点行为以及阶段重置行为(在存在这些机制的情况下)。
默认配置对测试友好:主要防御机制被禁用,且允许使用药水效果。Boss 可以通过 config/bossfix.json 进行单独配置,该文件在游戏或服务器首次启动后生成。
功能
- 支持 Legendary Monsters 2.1.15
- 单个 Boss 的 JSON 配置
- 药水效果控制,包括 Cloud Golem 基于刻的增益清除
- 单次伤害上限开关及数值设置
- 反作弊距离检查开关
- 箭矢与投射物免疫开关
- 无敌帧开关及持续刻数设置
- 阶段伤害减免、通用伤害减免及伤害适应控制
- 自然恢复、返回重生点及阶段重置开关
- 对测试友好的默认配置,禁用了主要防御机制
要求
- Minecraft 1.20.1
- Forge 47+
- Legendary Monsters 2.1.15
指南
-
配置文件位置
LMfix 在游戏或专用服务器成功启动后会自动生成其配置文件:
config/bossfix.json
项目根目录还包含两个参考文件:
D:\BOSSfix\bossfix.example.json
D:\BOSSfix\bossfix.no_defense.json
编辑配置后重启游戏或服务器。该文件在启动时加载。
-
基本结构
bossfix.json 有两个顶层部分:
{
"global": {},
"bosses": {}
}
global 是回退配置(默认配置)。当某个 Boss 没有显式条目,或者未来的 Legendary Monsters 更新添加了未知 Boss 时使用。
bosses 包含针对每个 Boss 的覆盖设置。LMfix 1.0.3 支持通过 boss 键控制特定 Boss 的机制。
并非每个 Boss 都拥有所有机制。为不使用某项机制的 Boss 保留该字段无害,但这不会凭空创建新机制。
-
支持的 Boss 键
在 bosses 中使用这些键来控制单个 Boss:
animated_boss
animated_mini_boss
cloud_golem
possessed_paladin_boss
new_possessed_paladin
the_obliterator
the_warped_one
ancient_guardian
annihilation_pursuer
beheaded_knight
endersent
frostbitten_golem
lava_eater
overgrown_colossus
posessed_paladin
resurrected_knight
shulker_mimic
skeletosaurus
withered_abomination
animated_boss 和 animated_mini_boss 是 Legendary Monsters 基础类和通用逻辑的共享回退条目。除非你确定不需要它们,否则请保留它们。
-
字段参考
note:仅用于人类阅读的说明,不影响游戏玩法。
potionEffects:允许或阻止 Boss 药水效果。true 允许效果,false 阻止效果。基于刻的效果清除(如 Cloud Golem 增益清除)也受此设置控制。
damageCapEnabled:启用或禁用单次伤害上限。false 禁用伤害上限。
damageCap:单次伤害限制。仅在 damageCapEnabled=true 时使用。
antiCheeseEnabled:启用或禁用反作弊距离检查。
antiCheeseDistance:反作弊逻辑的距离阈值。仅在 antiCheeseEnabled=true 时使用。
projectileImmunity:启用或禁用投射物免疫。将其设置为 false 以允许箭矢和其他投射物造成伤害。
invulnerability:启用或禁用 Legendary Monsters 自定义无敌帧或短暂无敌逻辑。
invulnerabilityTicks:无敌持续时间(单位:刻)。20 刻 = 1 秒。仅在 invulnerability=true 时使用。
damageReduction:启用或禁用分阶段、定时或基于状态的伤害减免。
damageReductionMultiplier:减伤逻辑的伤害倍率。0.5 表示减半伤害,1.0 表示无减免。仅在 damageReduction=true 时使用。
damageAdaptation:启用或禁用伤害适应。
adaptationFactor:伤害适应的强度。值越高,适应速度越快或效果越强。仅在 damageAdaptation=true 时使用。
phaseDamageReduction:启用或禁用阶段转换时的伤害减免。
phaseDamageReductionMultiplier:阶段转换减伤期间的伤害倍率。仅在 phaseDamageReduction=true 时使用。
naturalHealing:启用或禁用非战斗状态下的自然治疗。
naturalHealingAmount:每次治疗刻的治疗量。仅在 naturalHealing=true 时使用。
naturalHealingIntervalTicks:治疗间隔(单位:刻)。仅在 naturalHealing=true 时使用。
returnToSpawn:启用或禁用返回、传送或重置位置回到出生点/竞技场点。
resetPhases:启用或禁用脱离战斗后的阶段重置。
-
默认配置
LMfix 1.0.3 默认为测试友好的无防御设置:
{
"potionEffects": true,
"damageCapEnabled": false,
"antiCheeseEnabled": false,
"projectileImmunity": false,
"invulnerability": false,
"damageReduction": false,
"damageAdaptation": false,
"phaseDamageReduction": false,
"naturalHealing": false,
"returnToSpawn": false,
"resetPhases": false
}
默认情况下,Boss 可以接收药水效果,箭矢可以对其造成伤害,并且禁用了伤害上限、伤害减免、反作弊检查、无敌帧、自然治疗和返回出生点行为。
-
常见示例
为没有特定覆盖设置的每个 Boss 禁用防御机制:
{
"global": {
"potionEffects": true,
"damageCapEnabled": false,
"antiCheeseEnabled": false,
"projectileImmunity": false,
"invulnerability": false,
"damageReduction": false,
"damageAdaptation": false,
"phaseDamageReduction": false,
"naturalHealing": false,
"returnToSpawn": false,
"resetPhases": false
}
}
为一个 Boss 启用伤害上限,例如将 the_obliterator 的单次伤害限制为 40:
{
"bosses": {
"the_obliterator": {
"damageCapEnabled": true,
"damageCap": 40.0
}
}
}
允许 Cloud Golem 的药水效果并禁用投射物免疫:
{
"bosses": {
"cloud_golem": {
"potionEffects": true,
"projectileImmunity": false
}
}
}
为一个 Boss 禁用反作弊和返回出生点逻辑:
{
"bosses": {
"the_warped_one": {
"antiCheeseEnabled": false,
"returnToSpawn": false
}
}
}
为一个 Boss 设置自定义无敌帧,例如 5 刻:
{
"bosses": {
"possessed_paladin_boss": {
"invulnerability": true,
"invulnerabilityTicks": 5
}
}
}
-
注意事项
配置文件使用 JSON 语法。不要在最后一个字段后添加尾随逗号。
你可以只编写想要更改的字段。LMfix 会在启动时自动填充缺失的字段。
如果配置文件无效,请删除 config/bossfix.json 并重启。LMfix 将生成一个新的默认配置。
对于专用服务器,请编辑服务器实例的配置。对于单人游戏,请编辑客户端实例的配置。
Short Description
LMfix is a Forge 1.20.1 compatibility and configuration mod for Legendary Monsters 2.1.15. It exposes boss defense mechanics through JSON config entries for easier modpack and server balancing.
Full Description
LMfix lets modpack authors and server owners configure many Legendary Monsters boss defense mechanics without editing Legendary Monsters itself. It can control potion effects, damage caps, projectile immunity, invulnerability frames, damage reduction, damage adaptation, natural healing, anti-cheese checks, return-to-spawn behavior, and phase reset behavior where those mechanics exist.
The default config is testing-friendly: major defensive mechanics are disabled and potion effects are allowed. Bosses can be configured individually through config/bossfix.json, which is generated after the game or server starts once.
Features
Supports Legendary Monsters 2.1.15
Per-boss JSON configuration
Potion effect control, including Cloud Golem tick-based buff clearing
Per-hit damage cap toggle and value
Anti-cheese distance check toggle
Arrow and projectile immunity toggle
Invulnerability frame toggle and tick duration
Stage damage reduction, generic damage reduction, and damage adaptation controls
Natural healing, return-to-spawn, and phase reset toggles
Testing-friendly default config with major defensive mechanics disabled
Requirements
Minecraft 1.20.1
Forge 47+
Legendary Monsters 2.1.15
Guide
- Config File Location
LMfix automatically generates its config after the game or dedicated server starts successfully:
config/bossfix.json
The project root also includes two reference files:
D:\BOSSfix\bossfix.example.json
D:\BOSSfix\bossfix.no_defense.json
Restart the game or server after editing the config. The file is loaded during startup.
- Basic Structure
bossfix.json has two top-level sections:
{
"global": {},
"bosses": {}
}
global is the fallback config. It is used when a boss has no explicit entry, or when a future Legendary Monsters update adds an unknown boss.
bosses contains per-boss overrides. LMfix 1.0.3 supports boss-specific mechanic control through boss keys.
Not every boss has every mechanic. Keeping a field for a boss that does not use that mechanic is harmless, but it will not create a new mechanic by itself.
- Supported Boss Keys
Use these keys inside bosses to control individual bosses:
animated_boss
animated_mini_boss
cloud_golem
possessed_paladin_boss
new_possessed_paladin
the_obliterator
the_warped_one
ancient_guardian
annihilation_pursuer
beheaded_knight
endersent
frostbitten_golem
lava_eater
overgrown_colossus
posessed_paladin
resurrected_knight
shulker_mimic
skeletosaurus
withered_abomination
animated_boss and animated_mini_boss are shared fallback entries for Legendary Monsters base classes and common logic. Keep them unless you know you do not need them.
- Field Reference
note: Human-readable note only. It does not affect gameplay.
potionEffects: Allows or blocks boss potion effects. true allows effects, false blocks them. Tick-based effect clearing, such as Cloud Golem buff clearing, is also controlled by this setting.
damageCapEnabled: Enables or disables the per-hit damage cap. false disables damage capping.
damageCap: Per-hit damage limit. Only used when damageCapEnabled=true.
antiCheeseEnabled: Enables or disables anti-cheese distance checks.
antiCheeseDistance: Distance threshold for anti-cheese logic. Only used when antiCheeseEnabled=true.
projectileImmunity: Enables or disables projectile immunity. Set this to false to allow arrows and other projectiles to deal damage.
invulnerability: Enables or disables Legendary Monsters custom invulnerability frames or short invulnerability logic.
invulnerabilityTicks: Invulnerability duration in ticks. 20 ticks = 1 second. Only used when invulnerability=true.
damageReduction: Enables or disables staged, timed, or state-based damage reduction.
damageReductionMultiplier: Damage multiplier for reduction logic. 0.5 means half damage, 1.0 means no reduction. Only used when damageReduction=true.
damageAdaptation: Enables or disables damage adaptation.
adaptationFactor: Strength of damage adaptation. Higher values make adaptation faster or stronger. Only used when damageAdaptation=true.
phaseDamageReduction: Enables or disables phase-transition damage reduction.
phaseDamageReductionMultiplier: Damage multiplier during phase-transition reduction. Only used when phaseDamageReduction=true.
naturalHealing: Enables or disables out-of-combat natural healing.
naturalHealingAmount: Healing amount per heal tick. Only used when naturalHealing=true.
naturalHealingIntervalTicks: Healing interval in ticks. Only used when naturalHealing=true.
returnToSpawn: Enables or disables returning, teleporting, or resetting position back to the spawn/arena point.
resetPhases: Enables or disables phase reset after disengaging.
- Default Config
LMfix 1.0.3 defaults to a testing-friendly no-defense setup:
{
"potionEffects": true,
"damageCapEnabled": false,
"antiCheeseEnabled": false,
"projectileImmunity": false,
"invulnerability": false,
"damageReduction": false,
"damageAdaptation": false,
"phaseDamageReduction": false,
"naturalHealing": false,
"returnToSpawn": false,
"resetPhases": false
}
By default, bosses can receive potion effects, arrows can damage them, and damage caps, damage reduction, anti-cheese checks, invulnerability frames, natural healing, and return-to-spawn behavior are disabled.
- Common Examples
Disable defensive mechanics for every boss that does not have a specific override:
{
"global": {
"potionEffects": true,
"damageCapEnabled": false,
"antiCheeseEnabled": false,
"projectileImmunity": false,
"invulnerability": false,
"damageReduction": false,
"damageAdaptation": false,
"phaseDamageReduction": false,
"naturalHealing": false,
"returnToSpawn": false,
"resetPhases": false
}
}
Enable a damage cap for one boss, for example limiting the_obliterator to 40 damage per hit:
{
"bosses": {
"the_obliterator": {
"damageCapEnabled": true,
"damageCap": 40.0
}
}
}
Allow Cloud Golem potion effects and disable projectile immunity:
{
"bosses": {
"cloud_golem": {
"potionEffects": true,
"projectileImmunity": false
}
}
}
Disable anti-cheese and return-to-spawn logic for one boss:
{
"bosses": {
"the_warped_one": {
"antiCheeseEnabled": false,
"returnToSpawn": false
}
}
}
Set custom invulnerability frames for one boss, for example 5 ticks:
{
"bosses": {
"possessed_paladin_boss": {
"invulnerability": true,
"invulnerabilityTicks": 5
}
}
}
- Notes
The config file uses JSON syntax. Do not add a trailing comma after the last field.
You may only write the fields you want to change. LMfix fills missing fields automatically on startup.
If the config becomes invalid, delete config/bossfix.json and restart. LMfix will generate a fresh default config.
For dedicated servers, edit the server instance config. For single-player, edit the client instance config.
评论 0
登录后参与评分
还没有评论,来抢沙发吧