mojira.dev
MC-303180

Spear attack speeds have unnecessary floating point decimal values

The attack speed of wooden, stone, copper, and netherite spears have unnecessary floating point values to result in their tick values, when the attack speeds would still result in the same tick values if they didn’t have those unnecessary decimals.

Current Java

Fixed Java (removed unnecessary decimals, results in same ticks)

Wooden Spear

1.54 Attack Speed (0.649 seconds / 13 ticks)

1.5 Attack Speed (13 ticks)

Stone Spear

1.33 Attack Speed (0.752 seconds / 15 ticks)

1.3 Attack Speed (15 ticks)

Copper Spear

1.18 Attack Speed (0.847 seconds / 17 ticks)

1.15 Attack Speed (17 ticks)

Golden Spear / Iron Spear

1.05 Attack Speed (0.952 seconds / 19 ticks)

1.05 Attack Speed (19 ticks)

Diamond Spear

0.95 Attack Speed (1.053 seconds / 21 ticks)

0.95 Attack Speed (21 ticks)

Netherite Spear

0.87 Attack Speed (1.149 seconds / 23 ticks)

0.85 Attack Speed (23 ticks)

Expected Results: Spear attack speeds on Java do not have unnecessary decimal values

Observed Results: Spear attack speeds on Java have unnecessary decimal values

Comments 2

Can confirm. The system for producing the attack speeds is automated when the items are registered, and floating point imprecisions on top of the formulas used leads to strange attack speeds.

Thank you for your report!
After consideration, the issue is being closed as Invalid.

This report does not describe a bug.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

SeaOfPixels

(Unassigned)

Plausible

Parity

25w42a, 25w44a

Retrieved