Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-smelt XP drop & Exclusivity with Silk Touch #11

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Mnky313
Copy link

@Mnky313 Mnky313 commented Jun 27, 2024

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)

@Mnky313
Copy link
Author

Mnky313 commented Jun 28, 2024

Noticed auto-smelt was set to stop native block experience drops, re-enabled it in the last commit. Was there a reason for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant