Auto-smelt XP drop & Exclusivity with Silk Touch #11
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.
Blocks that are smelted when mined with auto-smelt tool now drop XP based on how much you would get from smelting them
EXP orbs can only have integer values so for results with <1 xp there is a chance for XP to drop.
i.e. if smelting gives 0.7 EXP there's a 70% for an orb of value 1 to drop.
Also added exclusivity with silk touch to prevent conflicts/weird interactions.
(though it does appear to work correctly, silk touch takes priority and no XP is dropped)