Removal of client-side 1.9 attack cooldown timer (visual)

Status
This thread has been locked.

Killstreak702

Premium
Feedback score
1
Posts
227
Reactions
105
Resources
0
Howdy ho!

I'm currently working on a fork of PaperSpigot 1.13.2 that aims to have configurable options to remove all the terrible 1.9+ additions. This mainly includes the most terrible one; the PvP cooldown, off-hand, delay between switching items, the weird new attack effects...etc. So far in the whole less than 24 hours I've spent I've managed to actually do about 90% of the stuff I wanted to do, so far I have functional 1.7/1.8 PvP with no item switch delay with the removal of the weird PvP effects, and the whole "attack sweep" thing.

I was wondering if anyone could assist me in the removal of this on the client:
http://prntscr.com/mpe85b

There doesn't seem to be a packet that sends the cooldown data to the client (even with custom payload) so I assume the client handles this itself completely and assumes that the cooldown is always the same (Mojang at it again with these ideas...smh)

I was thinking about having a server-side resource pack to just replace this delay icon with nothing, although I'm not sure if this is actually a modifiable texture or a hard-coded texture. I know this is possible to do since there was a project called "HCFRevival" that was able to remove the visual timer completely without modifying the client code.

Any help would be appreciated. Thanks!
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

taydev

Feedback score
1
Posts
8
Reactions
1
Resources
0
I was thinking about having a server-side resource pack to just replace this delay icon with nothing

Yep, replacing the texture with nothing should stop it from showing. I just checked, it's in the `icons.png`file located in `assets/minecraft/textures/gui/`.
 

Killstreak702

Premium
Feedback score
1
Posts
227
Reactions
105
Resources
0
Yep, replacing the texture with nothing should stop it from showing. I just checked, it's in the `icons.png`file located in `assets/minecraft/textures/gui/`.
Sweet I’ll try this when I wake up, thank you for providing the directory also!
 
Status
This thread has been locked.
Top