SevPatches
一个小型核心模组,用于修复 SevTech Ages 中一些长期存在的问题,这些问题无法通过其他方式解决,或者涉及已停止维护的模组。
补丁列表
修补 SimpleHarvest。将 HarvestDropsEvent 的触发时机移至决定进行收割之后。
如果没有此补丁,SimpleHarvest 会在决定是否破坏方块之前触发 HarvestDropsEvent,这允许 AstralSorcery 或 IndustrialForegoing 等模组在决定不采取任何行动之前就消耗掉落物数组。
修补 InControl。将 InControl 的 LivingDropsEvent 处理程序的优先级从 LOWEST 更改为 LOW。由于其他上下文中的兼容性问题,无法对 InControl 本身进行此更改,但在 SevTech 中尚未发现任何兼容性问题。
这使得希望消耗掉落物数组的模组可以在 InControl 完成所需更改之后进行操作。
修补 Immersive Engineering。此补丁为金属压力机的 onEntityCollision 处理程序添加了额外的检查。金属压力机不再拾取 'EntityItem',但会接受所有派生类。
这防止了金属压力机在 Real Drops 将其替换为自己的实体之前拾取临时的原版物品实体。
修补 Astral Sorcery 和 Minecraft。此补丁包含两个部分。第一部分修改 Astral 的钩子以使用整数附魔 ID。第二部分使用 Mixins 重新应用 Astral 的 ASM 补丁,否则它们会被 JEID 覆盖。
这恢复了 Resplendent Prism 的功能,尽管在理想情况下,此补丁的第一部分应由 JEID 处理,而第二部分如果 JEID 不使用覆盖 mixin 则是不必要的。
修补 Galacticraft Core。在方法 BlockBasic#getPickBlock 中,Galacticraft 从世界中获取方块状态,而不是使用方法传入的状态。这导致其与 Scannable 不兼容,因为 Scannable 在调用 Block#getPickBlock 时未传入 BlockPos。此补丁简单地移除了对 World#getBlockState 的调用,将其替换为参数中的状态。
Just A Few Fish Augmentation (JAFFA)
针对 JAFFA 的一组三个补丁,共同用于实现原版的生成机制。
- 移除 JAFFA 自身的生成循环
- 注册原版生成和放置类型
- 实现 EntityFish#isNotColliding,重写 EntityAnimal 的实现,后者会阻止在水中生成。
SevPatches
A small coremod to patch some longstanding issues in SevTech Ages that either could not be resolved in another fashion,
or in mods which are at end of life.
Patches
Patches SimpleHarvest. Firing of HarvestDropsEvent moved to after the point at which the decision is taken to harvest.
Without this patch, SimpleHarvest fires the HarvestDropsEvent before deciding if it intends to break the block, allowing
mods such as AstralSorcery or IndustrialForegoing to consume the drops array before deciding not to take any action.
Patches InControl. Changes the priority of InControl's LivingDropsEvent handler to LOW (was LOWEST). Whilst this change
can't be made to InControl due to compatibility issues in other contexts, no compatibility issues have yet been found in
SevTech.
This allows mods which wish to consume the drops array to do so after InControl has made the desired changes.
Patches Immersive Engineering. This patch adds an additional check to the onEntityCollision handler of the metal press.
The metal press will no longer pick up 'EntityItem's, but will accept all derived classes.
This prevents the metal press from picking up from the temporary vanilla item entity before Real Drops replaces it with
its own entity.
Patches Astral Sorcery and Minecraft. There are two components to this patch. The first alters Astral's hooks to use
integer enchantment IDs. The second component reapplies Astral's ASM patches using Mixins as otherwise they are
overwritten by JEID.
This restores functionality to the Resplendent Prism, though in an ideal world the first component of this patch would
be handled by JEID, whilst the second would be unnecessary if JEID didn't use an overwrite mixin.
Patches Galacticraft Core. In the method BlockBasic#getPickBlock, Galacticraft retrieves the blockstate from the world
rather than using the state passed in to the method. This leaves it incompatible with Scannable which does not pass in
the BlockPos when calling Block#getPickBlock. This patch simply removes the call to World#getBlockState, replacing it
with the state from the argument.
Just A Few Fish Augmentation (JAFFA)
A set of three patches to JAFF which together serve to implement vanilla spawning mechanics.
- Removes JAFF's own spawn loop
- Register vanilla spawns and placement types
- Implement EntityFish#isNotColliding, overriding EntityAnimal's implementation which prevents spawning in water.
评论 0
登录后参与评分
还没有评论,来抢沙发吧