Tested the client against 1.21.11 on .net 10. Created a integration testing skill (end-to-end).

This commit is contained in:
Anon 2026-03-21 21:02:13 +01:00
parent fb896c45a7
commit 5b9cc4aa0e
13 changed files with 553 additions and 1 deletions

View file

@ -64,6 +64,12 @@ namespace MinecraftClient.ChatBots
{
public double min, max;
public Range()
{
min = 0;
max = 0;
}
public Range(int value)
{
min = max = value;
@ -180,4 +186,4 @@ namespace MinecraftClient.ChatBots
currentLocation.Z + random.Next(range * -1, range));
}
}
}
}

View file

@ -106,6 +106,13 @@ namespace MinecraftClient.ChatBots
{
public double X, Y, Z;
public LocationConfig()
{
X = 0;
Y = 0;
Z = 0;
}
public LocationConfig(double X, double Y, double Z)
{
this.X = X;

View file

@ -85,6 +85,13 @@ namespace MinecraftClient.ChatBots
{
public double x, y, z;
public Coordination()
{
x = 0;
y = 0;
z = 0;
}
public Coordination(double x, double y, double z)
{
this.x = x; this.y = y; this.z = z;

View file

@ -103,6 +103,12 @@ namespace MinecraftClient.ChatBots
public Coordination? XYZ;
public Facing? facing;
public LocationConfig()
{
XYZ = null;
facing = null;
}
public LocationConfig(double yaw, double pitch)
{
this.XYZ = null;
@ -125,6 +131,13 @@ namespace MinecraftClient.ChatBots
{
public double x, y, z;
public Coordination()
{
x = 0;
y = 0;
z = 0;
}
public Coordination(double x, double y, double z)
{
this.x = x; this.y = y; this.z = z;
@ -135,6 +148,12 @@ namespace MinecraftClient.ChatBots
{
public double yaw, pitch;
public Facing()
{
yaw = 0;
pitch = 0;
}
public Facing(double yaw, double pitch)
{
this.yaw = yaw; this.pitch = pitch;

View file

@ -57,6 +57,12 @@ namespace MinecraftClient.ChatBots
{
public double min, max;
public Range()
{
min = 0;
max = 0;
}
public Range(int value)
{
min = max = value;

View file

@ -116,6 +116,12 @@ namespace MinecraftClient.ChatBots
public bool Enable = false;
public TimeSpan[] Times;
public TriggerOnTimeConfig()
{
Enable = false;
Times = Array.Empty<TimeSpan>();
}
public TriggerOnTimeConfig(bool Enable, TimeSpan[] Time)
{
this.Enable = Enable;
@ -134,6 +140,13 @@ namespace MinecraftClient.ChatBots
public bool Enable = false;
public double MinTime, MaxTime;
public TriggerOnIntervalConfig()
{
Enable = false;
MinTime = 0;
MaxTime = 0;
}
public TriggerOnIntervalConfig(double value)
{
this.Enable = true;