mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Switched to a faster implementation of FindBlock proposed by Daenges, tested on Farmer Bot.
Tweaked the amount of bone mealing in the Farmer Bot.
This commit is contained in:
parent
ee57d101c0
commit
730990cee5
2 changed files with 11 additions and 21 deletions
|
|
@ -420,7 +420,7 @@ namespace MinecraftClient.ChatBots
|
|||
LogDebug("Trying to bonemeal: " + location2);
|
||||
|
||||
// Send like 4 bonemeal attempts, it should do the job with 2-3, but sometimes doesn't do
|
||||
for (int boneMealTimes = 0; boneMealTimes < 4; boneMealTimes++)
|
||||
for (int boneMealTimes = 0; boneMealTimes < (cropType == CropType.Beetroot ? 6 : 5); boneMealTimes++)
|
||||
{
|
||||
// TODO: Do a check if the carrot/potato is on the first growth stage
|
||||
// if so, use: new Location(location.X, (double)(location.Y - 1) + (double)0.93750, location.Z)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue