[Idea] carrot farm
Prerequisites
- [X] I have read and understood the user manual
- [X] I made sure I am running the latest development build
- [X] I tried to look for similar feature requests before opening a new one
Console Client Version
Latest
Describe your problem
Hello, I play on minecraft server, this server farming is very important, I built a carrot farm with 6x6 blocks, I want to automate my carrot farm with console client bots, but I don't know how to do it, Use a hoe to destroy mature carrots or other mature crops. can you help me? Thanks!
Suggest a possible solution
No response
Attach screenshot here (If applicable)
No response
Minecraft Version
1.16.5
Device
Laptop
Operating System
Windows
I had a quick look into it. In contrast to sugar cane or cactus it gets more difficult here, since Material.cs distinguishes between different crops, but not between their individual state of growth. This means, that you can currently detect, whether a certain block is a carrot or not, which makes cactus / sugar cane farms possible, since they rely on actually growing blocks, instead of block updates.
Unfortunately I am not sure if it is possible to obtain the growth state somewhere from something like the block metadata..
Been looking at this, it's very tricky, as it involves a lot of bit manipulation of the Data field on the Chunk Data and Update Light packet.
It looks very complicated but I'll give it a try.
The bot is done for the most part, needs some polishing. I'll open a PR when I can, like next week.
Implemented in #2267