MirasiteSRPFix

Runtime bytecode fixes for Scape and Run: Parasites 1.10.9 — BGM cutoff, node compass, loot on death, dislodgment tuning, meteor cleanup and boss HUD.

What this is

A coremod that fixes a batch of non-fatal but very annoying problems in Scape and Run: Parasites, using runtime bytecode injection plus reflection. Built for the Mirasites modpack.

Every patch is applied at class-load time through a LaunchWrapper transform, and every runtime hook is pure reflection. No original mod jar is modified or repackaged.

If a patch cannot match its target method it silently skips, so the game behaves exactly like vanilla SRP would. Every feature can be turned off individually in the config.

What this mod does

- SRP periodically cuts off everyone else's background music (vanilla or other mods) and keeps only its own, a real BGM dictatorship. Fixed by removing the stop("", MUSIC) calls and emptying the musicToRemove blacklist.
- The node compass points at the farthest nexus instead of the nearest one. Fixed by correcting the blind-spot check and flipping an inverted direction comparison back.
- The dislodgment start/end messages cannot be changed through the config. Messages are now config entries, with Chinese built in by default.
- Dislodgment 2 crashes the server when it ends naturally. Fixed by removing the out-of-range disloNumber2 call.
- The parasite weball places vanilla cobweb. It now places SRPBlocks.SRPWeb instead.
- Preeminent parasites are blocked by the colony spawn lock and cannot spawn as the evolution phase advances. checkColoLock now simply returns false.
- Once a colony exists, dying parasites devolve into a lower tier, which skips onDeath, so no loot drops at all. 32 parasite classes no longer call spawnNext on death, and loot drops normally again.
- After a meteor impact, snow layers and Pam's fruit are left floating on top of the destroyed trees. An extra cleanup pass now clears minecraft:snow_layer and harvestcraft:pam.

Dislodgment tuning

- Dislodgment 21 (damage immunity while not burning). Vanilla makes parasites fully immune as long as they are not on fire, and combined with elite fire resistance they cannot be defeated. This is now a configurable damage reduction (80 percent by default; set it to 100 to restore vanilla invulnerability).
- Dislodgment 20 (corpse revival). Vanilla makes every remain revive, so the mob count keeps growing and causes massive lag. Now each remain rolls once only, at the exact moment vanilla would have revived it (20 percent by default); a remain that fails the roll disappears together with the gore block under it, so it no longer sits there emitting green particles.
- Dislodgment 4 (stat buff). The multiplier is now configurable per evolution phase, hard-capped at x2.0 so it never becomes absurd.

The evolution system can also be decoupled from world difficulty. In vanilla, Easy and Normal clamp the evolution point cap to zero, so parasites never evolve and any level set by command reverts on the next tick. A single switch makes evolution independent of both difficulty and the simple / normal / hard / impossible world-setting multiplier.

SRP boss bars

Kirin and Draconite have no boss bar in vanilla SRP. This mod draws a custom bar for them with full textures.

- Any entity can be added by registry name, with your own empty and full textures.
- It automatically offsets itself below vanilla boss bars, so it never overlaps the Wither or the Ender Dragon.
- Multiple bars on screen are supported and filtered by distance; when something does not show up, the log prints a one-line diagnostic (current dimension, distance, entity ID list).
- Textures must be 256x256 atlases.

Tumour loot control

The contents of the three tiers of meteor tumours (srparasites:parasiteloot) can be taken over completely: per-tier item lists, quantity and weight per entry, fill chance per slot (50 percent in vanilla), and four fill modes (srp, replace, append, onlyempty). It is off by default; when enabled it also lifts SRP's "SRP items only" container whitelist, otherwise items from other mods would be cleared out.

Simple Tomb integration

When you recover your grave with a full inventory, Baubles accessories used to fall on the ground. They are now equipped into their slots first.

Compatibility

- Minecraft 1.12.2, Forge 14.23.5.2860.
- Requires Scape and Run: Parasites 1.10.9. If the parasite mod is updated, support will follow.
- Simple Tomb, Baubles and Pam's HarvestCraft are optional; if they are missing, the related features downgrade automatically and say so in the log.
- The boss bar part is client-side only; all other patches work on the server.
- Mods that touch the same SRP classes may conflict. Every feature can be turned off individually.

Configuration

config/miraisitesrpfix.cfg is generated on first launch and written in UTF-8. It upgrades itself: new keys are added while all existing values are kept, and keys for removed features are dropped instead of lingering forever. Delete the file to rebuild it with defaults.

 

中文介绍:
这是什么?

一个 coremod,用运行时字节码注入加反射的方式,修复 Scape and Run: Parasites 里一批问题,給一些功能提供开关,为踏虚体和邪狱龙添加boss血条。为蛊之奇境(Mirasites)整合包而制作。

所有补丁在类加载阶段通过 LaunchWrapper 变换完成,所有运行期钩子为纯反射。不修改、不重打包任何原模组 jar。

补丁匹配不上目标方法时会静默跳过,游戏行为与原生 SRP 完全一致。每一项都能在 config 里单独关闭。

本模组做了什么

SRP 会周期性掐掉别人(原版或其他模组)的背景音乐,只保留自己的,进行 bgm 独裁。处理方式:删除 stop("", MUSIC) 调用,并清空 musicToRemove 黑名单。

节点指南针指向最远的节点而不是最近的。处理方式:修正盲区判定,并把写反的方向比较翻转回来。

扰动开始与结束的提示无法通过配置文件更改。处理方式:文案改为配置项,默认内置中文。

扰动 2 自然结束时服务端崩溃。处理方式:移除越界的 disloNumber2 调用。

寄生虫网球砸中方块生成原版蜘蛛网。处理方式:改为生成 SRPBlocks.SRPWeb。

卓越种被殖民地生成锁拦住,无法随演化阶段刷出。处理方式:checkColoLock 直接返回 false。

聚生地出现后寄生虫死亡时退化成低阶,onDeath 被跳过,导致一件战利品都不掉。处理方式:32 个寄生虫类在死亡时不再调用 spawnNext,战利品正常掉落。

陨石落地后,被炸掉的树顶上留着悬空的雪片与潘马斯模组果子。处理方式:追加一次清扫,清理 minecraft:snow_layer 与 harvestcraft:pam。

扰动数值调整

扰动 21(未着火时无敌)。原版里寄生虫未着火时完全无敌,配合冠军强敌的抗火效果导致无法击败。改为可配置减伤,默认 80%,设 100 即还原原版无敌。

扰动 20(残骸复活)。原版里每具残骸必定复活,导致怪物越打越多带来巨量卡顿。现在每具残骸概率复活,默认 20%。没通过的残骸连同脚下的残骸方块一起消失。

扰动 4(属性强化)。倍率可按演化阶段分别配置,硬性封顶为原本的两倍,防止出现极端数值怪。

另外可以把演化系统与世界难度脱钩。一个开关即可让演化不受难度和"简单、普通、困难、不可能"世界设置倍率影响。

SRP Boss 血条

Kirin 与 Draconite 在原版 SRP 里没有血条。本模组为它们绘制带完整贴图的自定义血条。

任意实体都能按注册名加血条,空条与满条贴图自己填。

自动避让原版 boss 条,不会和凋灵、末影龙叠在一起。

支持同屏多条,按距离筛选。显示异常时日志会打一行诊断,包含当前维度、距离、实体 ID 清单。

贴图需为 256x256 图集。

肿瘤战利品接管

三档陨石肿瘤(srparasites:parasiteloot)的内容可以完全接管:按档位的物品表、每条的数量与权重、每格出现概率(原版 50%)、四种填充模式(srp、replace、append、onlyempty)。默认关闭。开启时会同时放宽 SRP 的只收自家物品容器白名单,否则别的模组的物品放进去会被清空。

Simple Tomb 联动

背包满时捡尸,饰品原本会掉在地上。现在会先尝试装进对应饰品栏。

兼容性

Minecraft 1.12.2,Forge 14.23.5.2860。

前置:Scape and Run: Parasites 1.10.9。后续若寄生虫模组更新会继续适配。

Simple Tomb、Baubles、潘马斯丰收物语模组为可选。缺失时相关功能自动降级并在日志说明。

血条部分仅客户端,其余补丁服务端可用。

与改动同一批 SRP 类的模组可能冲突,每项功能都可单独关闭。

配置

config/miraisitesrpfix.cfg 首次启动自动生成,删掉文件即重建为默认值。

MirasiteSRPFix Team

profile avatar
  • 1
    Followers
  • 3
    Projects
  • 29.5K
    Downloads

More from Lava_Bucket_

  • RCProbe project image

    RCProbe

    A structure compass for Recurrent Complex: find nearby RC structures and vanilla landmarks, with an icon that points at the nearest one.

    • 2
    • November 20, 2026
  • Mirasites-100-Days project image

    Mirasites-100-Days

    Parasites100days! The parasites will evolve every 10 days! A Magical World! NewBosses! New Tinker traits! Wizardry! Use them to fight against those mosters!

    • 29.4K
    • August 12, 2026
  • Shadow Awakening project image

    Shadow Awakening

    Shadow Awakening —— Awaken to a New Life in the Abyss of Shadows, can you survive in this world fraught with dangers?

    • 33.7K
    • January 15, 2025
  • RCProbe project image

    RCProbe

    A structure compass for Recurrent Complex: find nearby RC structures and vanilla landmarks, with an icon that points at the nearest one.

    • 2
    • November 20, 2026
  • Mirasites-100-Days project image

    Mirasites-100-Days

    Parasites100days! The parasites will evolve every 10 days! A Magical World! NewBosses! New Tinker traits! Wizardry! Use them to fight against those mosters!

    • 29.4K
    • August 12, 2026
  • Shadow Awakening project image

    Shadow Awakening

    Shadow Awakening —— Awaken to a New Life in the Abyss of Shadows, can you survive in this world fraught with dangers?

    • 33.7K
    • January 15, 2025