Skip to content

fix: Incorrect flower class for harvester #8813

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

Open
wants to merge 2 commits into
base: mc1.21.1/dev
Choose a base branch
from

Conversation

Damocles078
Copy link

Fixes issue #8811
note: renamed VegetationBlock as of today in neoforge 1.21.6-21.6.x

@VoidLeech
Copy link
Collaborator

Relevant Neo PR:
neoforged/NeoForge#971

Seems the old block interface got moved to what is now supposed to be an item interface (and that isn't implemented on vanilla's flowers). This does seem like a reasonable alternative to catch the flowers but the replacement interface should probably also still be a way of determining whether the harvester can break a block.

@VoidLeech VoidLeech added pr type: fix PR fixes a bug pr flag: simple PR has minimal changes labels Jun 30, 2025
@Damocles078
Copy link
Author

You're absolutely right. I added the check against BushBlock instead of replacing the check against SpecialPlantable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr flag: simple PR has minimal changes pr type: fix PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants