跳到正文

CreateVaultFix

作者:pirogram

Client-side compatibility fix that prevents IndexOutOfBoundsException crashes when opening Create Item Vault with Relics or Artifacts items equipped.

收藏

介绍

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

Create Vault Fix

A lightweight client-side compatibility patch that prevents crashes when using Create Item Vault together with Relics or Artifacts mods.

The Problem

When you have items from Relics or Artifacts mods equipped in your additional inventory slots and try to open a Create Item Vault, the game crashes with:

java.lang.IndexOutOfBoundsException: Index 36 out of bounds for length 36
at net.minecraft.world.inventory.AbstractContainerMenu.getSlot()

This happens because of a slot synchronization issue between the server and client when Curios-based additional inventory slots interact with Create’s custom container menu.

The Solution

This mod intercepts invalid container slot update packets on the client side before they can cause an IndexOutOfBoundsException. It safely cancels processing of packets that reference non-existent slot indices in the current menu.

Known Limitations

In rare cases, you might experience a brief visual desync in the vault interface (a slot might not update visually for a moment). This resolves instantly with any inventory interaction and is a minor visual trade-off to prevent a complete game crash.

Requirements

  • Minecraft 1.21.1
  • NeoForge 21.1.192+
  • Create (any 1.21.1 version)
  • Relics OR Artifacts (optional, but this is what causes the crash)

Installation

  1. Install NeoForge for Minecraft 1.21.1
  2. Place createvaultfix-1.0.0.jar in your mods folder
  3. Launch the game

No server-side installation needed!

License

MIT License – feel free to use, modify, and distribute.

Git

https://github.com/p1rogram/createvaultfix

常见问题

CreateVaultFix 支持哪些 Minecraft 版本?

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

CreateVaultFix 怎么安装?

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

评论

登录后评论和评分

pirogram 的其他作品

查看全部 →