ViaVersion / ViaBackwards

Allows the connection of older clients to newer server versions for Minecraft servers.
https://hangar.papermc.io/ViaVersion/ViaBackwards
GNU General Public License v3.0
459 stars 87 forks source link

ToolComponent new 1.21 tool rules #797

Closed vermulst closed 3 months ago

vermulst commented 3 months ago

'/viaversion dump' Output

https://dump.viaversion.com/a6135bb0e8e1e9abc628abb4bdc6e9612246e4ace4390914cb7416d2d65d75a0

Console Error

not applicable

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

Barvalg commented 3 months ago

Platform: 1.21--6--126f6d7%20%28MC%3A%201.21%29
ViaVersion (5.0.1-SNAPSHOT): 4 commits behind master
ViaBackwards(5.0.0): 13 commits behind master

Please update all Via* plugins from https://ci.viaversion.com/.In case the issue still persists send the new dump and the issue will be reopened

kennytv commented 3 months ago

ViaBackwards does not (and in this case unfortunately cannot) reimplement newer client features