跳到正文

yyz’s backpack compat

作者:MWojt

让 yyz 的背包支持更多模组的菜单

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

yyz’s backpack compat

A compatibility mod for yyz’s backpack that extends its backpack side-panel display into menus added by other mods.

yyz’s backpack by default only shows the backpack panel in vanilla menus (chest, crafting table, furnace, etc.) and a few select mods (like Applied Energistics 2). This mod adds support for a wide range of popular modded menus so you can access your backpack from anywhere.

How it works

The base mod’s backpack panel has to be initialized for each menu. This mod does exactly that via mixins. Each mixin only activates if the related mod is installed.

For screens with variable width (like the Accessories mod’s experimental equipment screen), the mod queries the host mod’s own API to calculate the correct offset dynamically, so the backpack panel never overlaps with the main UI.

Supported mods

Each integration only activates if the matching mod is present, so any combination works out of the box.

| Mod | Supported menus |
|—|—|
| The Aether | Altar, Freezer, Incubator, Book of Lore |
| Deep Aether | Combiner |
| Accessories | Original + Experimental screens (with dynamic sizing) |
| Armor Statues | Equipment screen (only screen with player inventory) |
| Better Archeology | Fossil Inventory, Identifying |
| CERBON’s Better Beacons | New Beacon Menu |
| Chisel Reborn | Chisel |
| Corpse | Corpse Inventory, Additional Items |
| Create | Toolbox, Crafting Blueprint, Schematic Table, Schematicannon |
| Exposure | Lightroom |
| Farmer’s Delight | Cooking Pot |
| Universal Sawmill | Sawmill |
| SecurityCraft | Inventory Scanner, Briefcase |
| Spectrum | Pedestal, Crafting Tablet, Fabrication Chest, Compacting Chest, Black Hole Chest, Potion Workshop, Color Picker, Cinderhearth, Filtering, Particle Spawner, 3×3 Containers |
| Storage Drawers | All drawer containers |

Menus from mods that extend vanilla menus (Easy Anvils, Easy Magic, Visual Workbench, Trading Post, SecurityCraft keypad furnaces) are already supported by yyz’s backpack itself via class inheritance, no extra compat needed.

Requirements

Credits

Based on yyz’s backpack by yyz729.

常见问题

yyz’s backpack compat 支持哪些 Minecraft 版本?

yyz’s backpack compat 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

yyz’s backpack compat 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

MWojt 的其他作品

查看全部 →