mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
25 lines
762 B
C#
25 lines
762 B
C#
namespace MinecraftClient.Pathing.Execution
|
|
{
|
|
public sealed record PathTransitionHints(
|
|
int DesiredHeadingX,
|
|
int DesiredHeadingZ,
|
|
double MinExitSpeed,
|
|
double MaxExitSpeed,
|
|
bool RequireStableFooting,
|
|
bool RequireGrounded,
|
|
bool RequireJumpReady,
|
|
bool AllowAirBrake,
|
|
int HorizonTicks)
|
|
{
|
|
public static PathTransitionHints Default { get; } = new(
|
|
DesiredHeadingX: 0,
|
|
DesiredHeadingZ: 0,
|
|
MinExitSpeed: 0.0,
|
|
MaxExitSpeed: double.PositiveInfinity,
|
|
RequireStableFooting: false,
|
|
RequireGrounded: false,
|
|
RequireJumpReady: false,
|
|
AllowAirBrake: false,
|
|
HorizonTicks: 8);
|
|
}
|
|
}
|