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

[REQUEST] Farmer: don't use last bone meal in Stack #600

Open
TrojanerHD opened this issue Aug 1, 2024 · 1 comment
Open

[REQUEST] Farmer: don't use last bone meal in Stack #600

TrojanerHD opened this issue Aug 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@TrojanerHD
Copy link

Description:

Unlike e. g. the chopper, the farmer does not have a dedicated slot for bone meal. While it makes sense to be more dynamic with a farmer (i.e. plant four different plants), I would like it to not consume the last bone meal on its own, so add a stack.count > 1 check here:

item is BoneMealItem && isCropBlock && (block as? Fertilizable)?.isFertilizable(world, pos, state, false) == true && block.canGrow(world, world.random, pos, state) -> {

Reason:

I'm building a wheat farm and automatically produce bone meal from the leftover seeds. I also automatically feed back the seeds it harvests back into the input and as such, the input is full with seeds as soon as the last bone meal gets consumed.

@NolanHewitt
Copy link

I see you know how to actually do mod stuff. Is there any chance you could look at #564 and see if you can figure it out? I've looked around for a bit but I can't seem to figure out the issue and the mod developer seems to be inactive.

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

No branches or pull requests

2 participants