All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Item Use Delay Fixer

Item Use Delay Fixer

by Ghosty920 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Item Use Delay Fixer

Fixes a behaviour in the game with the right click (use item) delay timer.

How Minecraft works

Minecraft is simple on that part. If you press the right click button, it sets a variable to 4.

This variable decreases every tick (50ms), and once it reaches 0, if you're still holding right click it'll try to use an item again.

The issue? What if you have no item, no block to be used. Then it still sets the variable to 4 again.

private void rightClickMouse() {
    if (!this.playerController.getIsHittingBlock()) { // if not using left click at the same time
        // set the variable to 4
        this.rightClickDelayTimer = 4; // that's the very first thing done in the right click function!
        // ...
        // rest of the code with the item detection handling
    }
}

What does the mod do?

That behaviour is pretty annoying, because it can make so if you start holding your click too early/at a bad timing, it delays your item use and could make it never happen.

So instead of staying at 4, if no action happened it jumps back to 0, letting the function run the tick just after too, for as long as needed.

explanation schema

This mod is NOT a FastPlace (or "Fast Item", whatever people call it nowadays to bypass the cheating term)

Compatibility/Version

This project should work with every version of the game, on Fabric/NeoForge/Forge/Quilt.

It may break on Forge 1.13-1.16~, unsure.

It should work on every version from 1.7-1.12.2 and 1.20-26.2 (feel free to report to me on my discord server if it doesn't)

How to Install Item Use Delay Fixer (Mod)

Item Use Delay Fixer by Ghosty920 is verified for Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1 (latest release: 1.0.1C, file size: 959 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1) and platform (Fabric, Forge, Neoforge, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge, Quilt.
  3. Move the downloaded Item Use Delay Fixer file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.8.x 1.7.x
Forge
5mo ago 1
1.12.x 1.11.x 1.10.x +1
Forge
5mo ago 1
26.3 26.2 26.1.x +9
Fabric Forge Neoforge Quilt
5mo ago 1
1.12.x 1.11.x 1.10.x +1
Forge
6mo ago 1
26.2 26.1.x 1.21.x +8
Fabric Forge Neoforge Quilt
6mo ago 1
Fix issue with 1.8.x (thanks Turki for reporting)

Handles the fix in a different way, that is also confirmed compatible with 1.7.10 (and hopefully under)
Nothing changes for 1.9-1.12

1.8 support was moved to Classic version
Nothing changes for 1.13+ version
Item Use Delay Fixer Icon
Download Item Use Delay Fixer
Select game version
Select platform