SquidDev-CC / CCTweaks

Random additions to ComputerCraft (somewhat deprecated, use CC-Tweaked if you're on Minecraft 1.12).
MIT License
12 stars 2 forks source link

Is appropriate tool for tool host #93

Closed SquidDev closed 8 years ago

SquidDev commented 8 years ago

Can I suggest you new feature for Tool Host or Manipulator? There are cases, when breaking block did not give any drop. Would you add methods to know if equipped tool is "proper" for present block? For example Diamond pick is proper tool for obsidian, but stone pick is not. It is up to you to decide would it count Diamond pick to be proper for Sand for example. Proper tool would be shovel but pick still can get sand. But I definitely want Empty Bucket to be "proper tool" for any liquids.

For basic tools we can simply check if the tool has the correct harvest level. Anything else would probably have to be done through custom checks.