MekaJade Upgrades Fixed

Quick rating

Community listing page, reviews here may not be monitored by the author.

MekaJade Upgrades Fixed

No reviews yet

Shows installed Mekanism machine upgrades in the Jade tooltip. Fixed fork of MekaJadeUpgrades.

Mod Loaders
Minecraft

About

Description

MekaJade Upgrades Fixed

Shows the upgrades installed in a Mekanism machine in the Jade tooltip.
An unofficial fork of MekaJadeUpgrades by DevDyna - not affiliated with or
endorsed by the original author.

Differences from the original:

- Tooltip overflow fixed: the original positioned every icon with a fixed
  horizontal offset, but Jade measures a line only by element sizes, so the
  offset is not counted in the width and icons were drawn past the panel edge
  once many upgrade types were installed. Rows are now wrapped by measured
  width with no horizontal offset - no overflow at any resolution or GUI scale.
- Icon and count stay on the same line.
- Direct support for Mekanism: Empowered Unleashed (mod id
  mekanism_empowered_unleashed); the legacy mekanism_empowered id is still
  accepted.
- If the original MekaJadeUpgrades is installed too, this mod disables it
  automatically (configurable, on by default), so the upgrade row is never
  shown twice. It does this with a small mixin that only cancels the original's
  tooltip and data entry points.
- Added a config file for the option above.
- The original's datagen classes are not included; the rest of the Jade tooltip
  code is the original code with the fixes listed above.

Requirements:

- Minecraft 1.21.1, NeoForge 21.1.x
- Jade (required)
- Mekanism 1.21.1 (10.7.19 or newer, required)
- Mekanism Extras (optional) - its upgrade icons are shown too
- Mekanism: Empowered Unleashed (optional) - the empowered upgrade icons are
  shown too

Config:

config/mekajadeupgrades_fixed-common.toml

- disableMekaJadeUpgrades (default true): disable the original
  MekaJadeUpgrades when both are installed

Notes:

Based on MekaJadeUpgrades (by DevDyna, MIT, Copyright (c) 2024-2030 DevDyna).
All credit for the original mod goes to DevDyna - this fork only applies the
changes listed above, and keeps the original copyright notice in its LICENSE
file. Do not install this alongside the original mod.

License: MIT
Source: https://github.com/zaixiayesheng/MekaJadeUpgradesFixed

中文说明:

在 Jade 提示框里显示通用机械机器已安装的升级图标和数量。
这是 MekaJadeUpgrades(作者 DevDyna)的非官方修复分支,与原版作者无关,也未获其背书。

与原版的区别:

- 修复提示框溢出:原版用固定横向偏移定位图标,而 Jade 的行宽只按元素尺寸
  计算、偏移不计入,升级种类一多就会画到面板外面;现在按测量宽度自动换行、
  横向不加偏移,任何分辨率与 GUI 缩放下都不溢出
- 图标与数量文字保持同一水平线
- 直接支持通用机械:增强·解放(id mekanism_empowered_unleashed),
  旧 id mekanism_empowered 也保留
- 同时装了原版 MekaJadeUpgrades 时自动停用原版(配置可关,默认开启),
  避免升级行显示两遍;实现方式是一个只取消原版提示框与数据入口的 mixin
- 新增了上面那条配置所在的配置文件
- 未包含原版的数据生成(datagen)部分,其余提示框代码为原版代码加上上述修复

前置:Minecraft 1.21.1 / NeoForge 21.1.x、Jade、Mekanism 10.7.19+。
可选:通用机械:扩展、通用机械:增强·解放。
不要与原版 MekaJadeUpgrades 同时安装。

配置:config/mekajadeupgrades_fixed-common.toml 里 disableMekaJadeUpgrades(默认 true)。

基于 MIT 协议的上游项目修改,原版版权归 DevDyna 所有,原协议文本保留在仓库 LICENSE 中。