Vault Chest Mining Fix

Vault Chest Mining Fix

For Vault Hunters 3rd Edition: Workaround for chests sometimes breaking slowly while in Vaults.

by
363 Downloads
forgegame-mechanicsoptimization
Rent Server with this Mod

About this Mod

For the Vault Hunters Minecraft Modpack

The Bug

Sometimes when you mine a vault chest (Living, Ornate, Gilded or Coin Pile), the mining speed will bug out and prevent you from breaking the chest as fast as it should.

This occurs when you are falling or have stepped off a block (including slabs) while mining the chest. The bug persists until you either change tools, or try to mine another block instead.

The Cause

This is caused by an inherent Minecraft game mechanic; when you are not on solid ground (e.g. flying, swimming, falling) the game will slow down your mining speed. This is to prevent players from mining blocks too quickly while in the air.

In theory, this means after the first "break" of the chest, the game should reset the mining speed penalty.
However, in Vault Hunters, mining chests/coins occurs in "slices", popping an item out of the chest with each slice, the block isn't actually broken on slicing. Thus, any penalty applied to the first slice will propagate indefinitely.

The Fix

This mod aims to fix this bug by simply negating the mining speed penalty when specifically mining vault chests if the player is falling.
It ignores subsequent checks (i.e. does not check if it needs to reset the mining penalty) since the bug that causes the incorrect behaviour in the first place is used here to fix it.

We use the bug to fix the bug

This does not apply to wooden chests or strongboxes, as they are not affected by the bug (I think).

 


Requires the mod to be present on both clients and servers.

  • If a client has it but not the server, the chest will appear to break at full speed on the client side, but will still be there on the server; it will pop back into existence after a second or two. (Technically this still kind-of helps, as the client starts mining the block behind it the moment the chest disappears, which resets the mining slowdown)
  • If a server has it but not the client, nothing will happen. It should not prevent vanilla clients from joining the server

Available Versions

Vault Chest Mining Fix 0.0.2-1.18.2release
MC 1.18.2forge
June 7, 2024
Vault Chest Mining Fix 0.0.1-1.18.2release
MC 1.18.2forge
June 3, 2024

How to Install Vault Chest Mining Fix on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.18.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Vault Chest Mining Fix". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.18.2

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Vault Chest Mining Fix server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.18.2). You can switch loaders with one click in the panel.

Is Vault Chest Mining Fix compatible with forge?

Vault Chest Mining Fix officially supports forge for Minecraft 1.18.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Vault Chest Mining Fix – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Vault Chest Mining Fix consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Vault Chest Mining Fix with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.18.2