You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if you have noticed that watering can and hoe not made of iridium cannot enchant "Reaching"?Apart from the iridium watering can, there are only two optional enchantments.
Translated from Chinese:
不知你是否注意到,非铱制喷壶和锄头无法附魔“范围”?尤其是非铱制的喷壶,它们只有两个可选的附魔。
Yes, this is the expected behaviour.
If your watering can is not made of iridium, to upgrade its reach you need to upgrade it.
If it is made of iridium, then you can upgrade its reach with the enchant.
As this only applies to these, and would result in doubling the enchantment list, and I thought most people would focus on the iridium upgrade, I decided not to worry about it.
For reference, the code for the reaching Enchantment has this: public override bool CanApplyTo(Item item) { if (item is Tool && (item is WateringCan || item is Hoe)) { return (item as Tool).UpgradeLevel == 4; } return false; }
This also means if a mod adds in a higher teir upgrade, they need to make sure this is taken care of.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch updates the code for predicting enchantments to bring it in line with remember the last 2 enchantments that have been applied to the item.
This shows the 3 possible enchantments that can be applied, and in the tooltip shows the requirements to obtain each.