Skip to content

Commit c94ef73

Browse files
Add snow to X-Ray test images
1 parent 8aa467e commit c94ef73

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/gametest/java/net/wurstclient/gametest/tests/XRayHackTest.java

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public static void testXRayHack(ClientGameTestContext context,
5656
input.pressKey(GLFW.GLFW_KEY_X);
5757
waitForChunkReloading(context, world);
5858
assertScreenshotEquals(context, "xray_opacity",
59-
WurstTest.IS_MOD_COMPAT_TEST ? "https://i.imgur.com/a3GWEwb.png"
60-
: "https://i.imgur.com/Ee9ZANB.png");
59+
WurstTest.IS_MOD_COMPAT_TEST ? "https://i.imgur.com/hXdzoDB.png"
60+
: "https://i.imgur.com/ERrL7ko.png");
6161

6262
// Exposed only + opacity
6363
runWurstCommand(context, "setcheckbox X-Ray only_show_exposed on");
@@ -66,11 +66,11 @@ public static void testXRayHack(ClientGameTestContext context,
6666
input.pressKey(GLFW.GLFW_KEY_X);
6767
waitForChunkReloading(context, world);
6868
assertScreenshotEquals(context, "xray_exposed_only_opacity",
69-
WurstTest.IS_MOD_COMPAT_TEST ? "https://i.imgur.com/CWbwr40.png"
70-
: "https://i.imgur.com/hQOQRVG.png");
69+
WurstTest.IS_MOD_COMPAT_TEST ? "https://i.imgur.com/ZwIARSr.png"
70+
: "https://i.imgur.com/mCnP6LG.png");
7171

7272
// Clean up
73-
runCommand(server, "fill ~-5 ~-2 ~5 ~5 ~5 ~7 air");
73+
runCommand(server, "fill ~-5 ~-2 ~4 ~5 ~5 ~7 air");
7474
waitForBlock(context, 5, 5, 7, Blocks.AIR);
7575
runWurstCommand(context, "setcheckbox X-Ray only_show_exposed off");
7676
runWurstCommand(context, "setslider X-Ray opacity 0");
@@ -105,6 +105,10 @@ private static void buildTestRig(ClientGameTestContext context,
105105
runCommand(server, "setblock ~1 ~0 ~6 minecraft:water");
106106
runCommand(server, "setblock ~-1 ~0 ~6 minecraft:lava");
107107

108+
// Snow
109+
runCommand(server, "fill ~-5 ~-1 ~4 ~5 ~-1 ~4 minecraft:stone");
110+
runCommand(server, "fill ~-5 ~0 ~4 ~5 ~0 ~4 minecraft:snow");
111+
108112
// Wait for blocks to appear
109113
waitForBlock(context, -1, 0, 6, Blocks.LAVA);
110114
waitForChunkReloading(context, world);

0 commit comments

Comments
 (0)