mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add toggle to head movement while walking (#1805)
* Add toggle to head movement while walking * correct typo * Correcting the correcting * Improve description. Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com> Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>
This commit is contained in:
parent
8de7618027
commit
6928cd40fd
3 changed files with 8 additions and 1 deletions
|
|
@ -348,7 +348,11 @@ namespace MinecraftClient
|
||||||
{
|
{
|
||||||
Location next = path.Dequeue();
|
Location next = path.Dequeue();
|
||||||
steps = Movement.Move2Steps(location, next, ref motionY);
|
steps = Movement.Move2Steps(location, next, ref motionY);
|
||||||
UpdateLocation(location, next + new Location(0, 1, 0)); // Update yaw and pitch to look at next step
|
|
||||||
|
if (Settings.MoveHeadWhileWalking) // Disable head movements to avoid anti-cheat triggers
|
||||||
|
{
|
||||||
|
UpdateLocation(location, next + new Location(0, 1, 0)); // Update yaw and pitch to look at next step
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@ scriptcache=true # Cache compiled scripts for faster load on l
|
||||||
timestamps=false # Prepend timestamps to chat messages
|
timestamps=false # Prepend timestamps to chat messages
|
||||||
autorespawn=false # Toggle auto respawn if client player was dead (make sure your spawn point is safe)
|
autorespawn=false # Toggle auto respawn if client player was dead (make sure your spawn point is safe)
|
||||||
minecraftrealms=true # Enable support for joining Minecraft Realms worlds
|
minecraftrealms=true # Enable support for joining Minecraft Realms worlds
|
||||||
|
moveheadwhilewalking=true # Enable head movement while walking to avoid anti-cheat triggers
|
||||||
|
|
||||||
[Logging]
|
[Logging]
|
||||||
# Only affect the messages on console.
|
# Only affect the messages on console.
|
||||||
|
|
|
||||||
|
|
@ -101,6 +101,7 @@ namespace MinecraftClient
|
||||||
public static bool EntityHandling = false;
|
public static bool EntityHandling = false;
|
||||||
public static bool AutoRespawn = false;
|
public static bool AutoRespawn = false;
|
||||||
public static bool MinecraftRealmsEnabled = true;
|
public static bool MinecraftRealmsEnabled = true;
|
||||||
|
public static bool MoveHeadWhileWalking = true;
|
||||||
|
|
||||||
// Logging
|
// Logging
|
||||||
public enum FilterModeEnum { Blacklist, Whitelist }
|
public enum FilterModeEnum { Blacklist, Whitelist }
|
||||||
|
|
@ -368,6 +369,7 @@ namespace MinecraftClient
|
||||||
// Backward compatible so people can still enable debug with old config format
|
// Backward compatible so people can still enable debug with old config format
|
||||||
case "debugmessages": DebugMessages = str2bool(argValue); return true;
|
case "debugmessages": DebugMessages = str2bool(argValue); return true;
|
||||||
case "minecraftrealms": MinecraftRealmsEnabled = str2bool(argValue); return true;
|
case "minecraftrealms": MinecraftRealmsEnabled = str2bool(argValue); return true;
|
||||||
|
case "moveheadwhilewalking": MoveHeadWhileWalking = str2bool(argValue); return true;
|
||||||
|
|
||||||
case "botowners":
|
case "botowners":
|
||||||
Bots_Owners.Clear();
|
Bots_Owners.Clear();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue