File tree Expand file tree Collapse file tree
src/gametest/java/net/wurstclient/gametest/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,7 +115,6 @@ loom {
115115 runDir = " build/run/clientGameTestWithMods"
116116 jvmArguments. add(" -Dfabric.client.gametest" )
117117 jvmArguments. add(" -Dfabric.client.gametest.disableNetworkSynchronizer=true" )
118- jvmArguments. add(" -Dwurst.test.withMods=true" )
119118 programArguments. add(" --username=Wurst-Bot" )
120119 }
121120 }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ loader_version=0.19.3
1111loom_version =1.17-SNAPSHOT
1212
1313# Fabric API
14- fabric_api_version =0.152.1 +26.2
14+ fabric_api_version =0.152.2 +26.2
1515
1616# Mod Properties
1717mod_version =v7.54-CevAPI-MC26.2
@@ -25,10 +25,10 @@ gh_repo_id=cev-api/Wurst7-CevAPI
2525
2626# Mod versions for automated compatibility tests:
2727# Check at https://modrinth.com/mod/sodium/versions?l=fabric&g=26.2
28- # sodium_version=mc26.1. 2-0.8.12 -fabric
28+ sodium_version =mc26.2-0.9.0 -fabric
2929
3030# For manual testing (uncomment as needed):
3131# Check at https://modrinth.com/mod/better-block-entities/versions?g=26.2
32- # better_block_entities_version=1.3.4 +mc26.1 .2
32+ # better_block_entities_version=1.3.6 +mc26.2
3333# Check at https://modrinth.com/mod/badoptimizations/versions?g=26.2
34- # badoptimizations_version=gjIvugXc
34+ # badoptimizations_version=JmPs4Wie
Original file line number Diff line number Diff line change 1111
1212import net .fabricmc .fabric .api .client .gametest .v1 .context .ClientGameTestContext ;
1313import net .fabricmc .fabric .api .client .gametest .v1 .context .TestSingleplayerContext ;
14+ import net .fabricmc .loader .api .FabricLoader ;
1415import net .minecraft .core .BlockPos ;
1516import net .minecraft .world .entity .EntitySpawnReason ;
1617import net .minecraft .world .entity .EntityTypes ;
@@ -111,8 +112,14 @@ protected void runImpl()
111112 runWurstCommand ("setcheckbox Freecam tracer off" );
112113 runWurstCommand ("setcheckbox Freecam hide_hand off" );
113114 context .waitTick ();
114- assertScreenshotEquals ("freecam_with_hand" ,
115- "https://i.imgur.com/6tahHsE.png" );
115+ // This is broken in Sodium 0.9.0, see
116+ // https://github.com/CaffeineMC/sodium/issues/3745
117+ // Remove this special case once that issue is fixed.
118+ if (!WurstTest .IS_SODIUM_INSTALLED
119+ || !FabricLoader .getInstance ().getModContainer ("sodium" ).get ()
120+ .getMetadata ().getVersion ().toString ().equals ("0.9.0+mc26.2" ))
121+ assertScreenshotEquals ("freecam_with_hand" ,
122+ "https://i.imgur.com/6tahHsE.png" );
116123 runWurstCommand ("setcheckbox Freecam hide_hand on" );
117124
118125 // Enable player movement, walk forward, and turn around
You can’t perform that action at this time.
0 commit comments