VivecraftMod icon indicating copy to clipboard operation
VivecraftMod copied to clipboard

2 Handed Block Break Delay

Open jpv776 opened this issue 1 year ago • 11 comments

Using a Forge 1.21.1 server and breaking blocks with 2 hands causes blocks to take longer to break/drop. Same thing also happens when breaking a block one handed very fast.

jpv776 avatar Dec 19 '24 01:12 jpv776

take longer compared to what? singleplayer, or older versions

fayer3 avatar Dec 19 '24 01:12 fayer3

take longer compared to what? singleplayer, or older versions

I haven't tried it in singleplayer but to give more clarification I break a block with both my actual hands, not by holding the trigger and it sits there for about 3 seconds and then disappears and drops the block on the ground.

jpv776 avatar Dec 19 '24 01:12 jpv776

could be that they added a minumum breakage time on the server or something can you check if the time from when you start till it drops, is roughly equal to breaking it with the trigger?

fayer3 avatar Dec 19 '24 01:12 fayer3

I've tried the trigger and it breaks as normal and doesn't fake break like described, if breaking with one hand at a normal pace it breaks normally as well.

jpv776 avatar Dec 19 '24 01:12 jpv776

yeah I'm more innterested of the time comparison, but I can check that myself I guess

fayer3 avatar Dec 19 '24 01:12 fayer3

yeah, looks like that happens when breaking it faster than vanilla

fayer3 avatar Dec 19 '24 01:12 fayer3

I can upload a comparison, trying in survival yields the same results as the server.

jpv776 avatar Dec 19 '24 01:12 jpv776

need to dig into the code, if I can remove that, maybe not possible

fayer3 avatar Dec 19 '24 01:12 fayer3

https://github.com/user-attachments/assets/4684629a-1b7b-4e8f-8d33-3f5f8179a201

jpv776 avatar Dec 19 '24 02:12 jpv776

yeah that looks like it just waits the vanilla time, before actually braking

fayer3 avatar Dec 19 '24 02:12 fayer3

Probably vanilla's server-side anti-cheat checks.

Techjar avatar Dec 19 '24 18:12 Techjar