I am trying to use custom breaking speeds using the new 1.21 feature, however these don't properly work yet for -1.20.
Steps to Reproduce
Login with a 1.21 client on a 1.21 server, apply a custom toolrule on a tool by executing:
/give @p diamond_shovel[tool={default_mining_speed:1,damage_per_block:1,rules:[{speed:0.2,correct_for_drops:true,blocks:"sand"}]}] 1
Test the given custom rule on a sand block
Login with a 1.20.4 client, or probably any client below 1.21.
Compare both versions.
Expected Behavior
1.20.4 does not have a custom breaking speed, but it does break after the expected time after breaking the block.
Not sure if this is fixable.
Additional Server Info
No response
Checklist
[X] Via plugins are only running on EITHER the backend servers (e.g. Paper) OR the proxy (e.g. Velocity), not on both.
[X] I have included a ViaVersion dump.
[X] If applicable, I have included a paste (not a screenshot) of the error.
'/viaversion dump' Output
https://dump.viaversion.com/a6135bb0e8e1e9abc628abb4bdc6e9612246e4ace4390914cb7416d2d65d75a0
Console Error
Bug Description
I am trying to use custom breaking speeds using the new 1.21 feature, however these don't properly work yet for -1.20.
Steps to Reproduce
Login with a 1.21 client on a 1.21 server, apply a custom toolrule on a tool by executing: /give @p diamond_shovel[tool={default_mining_speed:1,damage_per_block:1,rules:[{speed:0.2,correct_for_drops:true,blocks:"sand"}]}] 1
Test the given custom rule on a sand block Login with a 1.20.4 client, or probably any client below 1.21. Compare both versions.
Expected Behavior
1.20.4 does not have a custom breaking speed, but it does break after the expected time after breaking the block. Not sure if this is fixable.
Additional Server Info
No response
Checklist