GabrielOlvH / Industrial-Revolution

An Industrial mod made for Fabric.
Apache License 2.0
197 stars 58 forks source link

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

Open TrojanerHD opened 3 months ago

TrojanerHD commented 3 months ago

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:

https://github.com/GabrielOlvH/Industrial-Revolution/blob/012a1b83f39ab50a10d03ef3c1a8e2651e517053/src/main/kotlin/me/steven/indrev/blockentities/farms/FarmerBlockEntity.kt#L79

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 commented 2 months ago

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.