File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
c2me-fixes-worldgen-threading-issues/src/main/java/com/ishland/c2me/fixes/worldgen/threading_issues/mixin/threading
tests/test-mod/src/main/java/com/ishland/c2me/tests/testmod/mixin/pregen Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 44import com .ishland .c2me .fixes .worldgen .threading_issues .common .XPieceDataExtension ;
55import net .minecraft .structure .NetherFortressGenerator ;
66import org .objectweb .asm .Opcodes ;
7+ import org .spongepowered .asm .mixin .Final ;
78import org .spongepowered .asm .mixin .Mixin ;
9+ import org .spongepowered .asm .mixin .Mutable ;
810import org .spongepowered .asm .mixin .Shadow ;
911import org .spongepowered .asm .mixin .injection .At ;
1012import org .spongepowered .asm .mixin .injection .Inject ;
1719@ Mixin (NetherFortressGenerator .Start .class )
1820public class MixinNetherFortressGeneratorStart {
1921
20- @ Shadow public List <NetherFortressGenerator .PieceData > bridgePieces ;
21- @ Shadow public List <NetherFortressGenerator .PieceData > corridorPieces ;
22+ @ Shadow @ Final @ Mutable public List <NetherFortressGenerator .PieceData > bridgePieces ;
23+ @ Shadow @ Final @ Mutable public List <NetherFortressGenerator .PieceData > corridorPieces ;
2224
2325 @ MakeVolatile
2426 @ Shadow public NetherFortressGenerator .PieceData lastPiece ;
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ gradle-curseforge-publish.interop.neogradle=false
1111# org.gradle.configuration-cache=true
1212# Fabric Properties
1313# check these on https://fabricmc.net/versions.html
14- minecraft_version =25w43a
15- yarn_mappings =25w43a +build.3
14+ minecraft_version =25w44a
15+ yarn_mappings =25w44a +build.1
1616loader_version =0.17.3
1717fabric_version =0.136.1+1.21.11
1818# Mod Properties
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ private void onTick(CallbackInfo info) {
125125 // LOGGER.warn("High GC overhead / low available heap, saving worlds...");
126126 this .worlds .values ().forEach (world -> world .getChunkManager ().tick (() -> true , false ));
127127 this .worlds .values ().forEach (world -> world .getChunkManager ().save (false ));
128- this .worlds .values ().forEach (world -> world .getChunkManager ().chunkLoadingManager .method_75897 (false ).join ());
128+ this .worlds .values ().forEach (world -> world .getChunkManager ().chunkLoadingManager .completeAll (false ).join ());
129129 handledGc = largeOverheadGC ;
130130 }
131131 }
You can’t perform that action at this time.
0 commit comments