meteor-client icon indicating copy to clipboard operation
meteor-client copied to clipboard

implement prefer silk touch to Auto Tool

Open noramibu opened this issue 3 months ago • 2 comments

Type of change

  • [x] Bug fix
  • [x] New feature

Description

removed silk touch for ender chest option and implemented a whitelist for silk touch. If a suitable tool exists and block is in whitelist, it will always prefer silk touch (unless user doesn't have a silk touch tool, in that case it will choose most suitable tool (or fortune tool if fortuneForOresCrops enabled))

also fixed fortuneForOresCrops wasn't working for crops because there was no suitable tool for it (now they simply bypass tool check if fortuneForOresCrops is on)

Related issues

#5729 #5243

How Has This Been Tested?

https://youtu.be/ECl49wCImMs

Checklist:

  • [x] My code follows the style guidelines of this project.
  • [x] I have added comments to my code in more complex areas.
  • [x] I have tested the code in both development and production environments.

noramibu avatar Oct 01 '25 09:10 noramibu

turns out fortune for ores and crops option doesn't work on crops bcs there's simply no suitable tool for it. a simple bypass would do the trick for #5243

noramibu avatar Oct 01 '25 18:10 noramibu

this would do the trick

noramibu avatar Oct 01 '25 18:10 noramibu