mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Support automatic rod switching
This commit is contained in:
parent
949126c9cb
commit
cb22387008
4 changed files with 98 additions and 92 deletions
|
|
@ -208,6 +208,8 @@ namespace MinecraftClient
|
|||
public static double AutoFishing_FishingTimeout = 600.0;
|
||||
public static double AutoFishing_FishingHookThreshold = 0.2;
|
||||
public static double AutoFishing_FishingCastDelay = 0.4;
|
||||
public static double AutoFishing_DurabilityLimit = 2;
|
||||
public static bool AutoFishing_AutoRodSwitch = true;
|
||||
public static double[,]? AutoFishing_Location = null;
|
||||
|
||||
//Auto Eating
|
||||
|
|
@ -721,8 +723,10 @@ namespace MinecraftClient
|
|||
case "fishing_timeout": AutoFishing_FishingTimeout = str2double(argValue); return true;
|
||||
case "fishing_hook_threshold": AutoFishing_FishingHookThreshold = str2double(argValue); return true;
|
||||
case "fishing_cast_delay": AutoFishing_FishingCastDelay = str2double(argValue); return true;
|
||||
case "durability_limit": AutoFishing_DurabilityLimit = str2int(argValue); return true;
|
||||
case "auto_rod_switch": AutoFishing_AutoRodSwitch = str2bool(argValue); return true;
|
||||
case "location": AutoFishing_Location = str2locationList(argValue); return true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case Section.AutoEat:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue