mojira.dev
MC-136213

Haste does not work correctly due to rounding

Having Haste 2 doesn't make you cut logs faster. (Only tried with an Efficiency 5 diamond axe)

(I know this is a duplicate of MC-25330, but it's still the case in 1.13...)

 

Here is some testing I have done (done in 1.13.1-pre2 by mining a 10*9 area, see picture for more details) :

-------------------------------------------------------------------------------------

Diamond Axe with Efficiency V on Oak Logs : 715 (time to mine the 90 blocks in ticks)

Diam Axe Effi V with Haste II on Oak Logs : 716

Diam Axe Effi V with Mining Fatigue II on Oak Logs :  2314

-------------------------------------------------------------------------------------

Diamond Axe on Oak Logs : 1246

Diam Axe with Haste II on Oak Logs : 1068

-------------------------------------------------------------------------------------

So the Haste effect seems to work on axes with low efficiency value, but doesn't seems to work on axes with high efficiency value...

I did try this on Oak Planks as well and I got the same results.

I wanted to compare with something, here are the results :

-------------------------------------------------------------------------------------

Diamond Pickaxe with Efficiency V on Stone : 711

Diam Pick Effi V with Haste II on Stone : 150

-------------------------------------------------------------------------------------

So yeah, there is definitively somthingwrong with Axes...

 

 

Addendum :

During my testing I found something else, I let you see :

-------------------------------------------------------------------------------------

STONE Axe with Efficiency V on Oak Logs : 711

STONE Axe Effi V with Haste II on Oak Logs : 714

-------------------------------------------------------------------------------------

A Stone Axe with Efficiency V is as fast as Diamond Axe with the same enchantment... (Note : That isn't the case with Wooden Axe that takes about 820 ticks)...

 

 

 

Linked issues

Attachments

Comments 12

Cannot reproduce. (Haste will still affect the mining speed of a diamond axe unless it has a high efficiency enchantment)

@unknown, I haven't verified it myself, but apparently, and when looking at MC-25330, this would apply only to axes and chopping wood.

Unable to reproduce in 1.13.1-pre2 using unenchanted diamond and stone axes to break logs; the difference in breaking speed is slight, but it seems to be consistent with breaking other blocks (e.g. sand with fist).

As there is a lot of 'cannot reproduce' in the comments, I've decided to run a proper test.

You can see the results in the main message.

From my calculations, haste does indeed have an effect on breaking time. However, due to Minecraft's level of imprecision with its tickrate, all breaking times are rounded up to the nearest 0.05s, which means it does not have a tangible effect in this instance.

Eff/Haste

Theoretical

Rounded

 

Eff/Haste

Theo

Rounded

0/0

0.375

0.4

 

0/2

0.268

0.3

1/0

0.300

0.3

 

1/2

0.214

0.25

2/0

0.231

0.25

 

2/2

0.165

0.2

3/0

0.167

0.2

 

3/2

0.119

0.15

4/0

0.120

0.15

 

4/2

0.086

0.1

5/0

0.088

0.1

 

5/2

0.063

0.1

2 more comments

Can confirm in 1.17.1.

Why would this be exclusive to axes? Shouldn't it affect any block that's hardness is exactly 2, such as cobblestone, bricks, smooth stone, nether bricks, etc?

It's not exclusive to them, the report description was just never changed to state other examples, nor does it need to.

We still have this problem in 1.21.1
MC-276792

Shinrod Dellore

(Unassigned)

Confirmed

Player

Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1-pre2, 1.15.2, 1.17.1, ..., 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 5, 1.20.1, 1.21.1

Retrieved