Closed IAISI closed 3 months ago
I added a similar patch to the dev branch https://github.com/Samsuik/Sakura/commit/e6a141c68038622e7b8b6b7ec97e34cda3087cf3
Closing as the commit I referenced has been merged into the main branch
This is a bit awkward... but we actually tested this when updating to 1.20.6 when we tried running Sakura without any of our patches and it appears this is not working as intended. Cactus growth would be bugged, as in Cacti simply won't grow at all...
I think just setting max age is the issue:
not sure why, but when making our own patch included in this issue we noticed similar behavior, I think its somehow related to setting AGE
Yeah, that is definitely not implemented correctly.
This might be fixed with the recent changes. I noticed that with the patch cactus would take 15x longer than vanilla to grow, and that cactus could grow beside a block and not break.
It seems a bit faster compared to my patch, but yea it seems to be working now, I've just tested 1.20.6
Cactus Farms are still large part of gameplay on some servers, unfortunately they can also cause issues, even more so with plugins/special chests that auto collect drops and cancel BlockGrowEvent events.
I think one of the solutions would be to reduce block updates, I would like to share patch we're currently using to address this:
I do realize this is probably not the best solution but it greatly reduces lag from Cactus farms, I'm open for other ideas and feedback, would love to see this added to Sakura :)
This could probably be expanded to optimize other farmable blocks, but I don't think there are any other farms that wouldn't be taken care of by redstone limits, while 9+ chunks of cactus could generate considerable lag without any redstone (meaning capping redstone wouldn't help with lag since there isn't any).