From c0d4429e5cd053ed978dc150b4fbb8950fe0e7d6 Mon Sep 17 00:00:00 2001 From: Mr Zombii Date: Sun, 28 Jul 2024 20:20:46 -0500 Subject: [PATCH] do 0.1.43 --- build.gradle | 2 ++ gradle.properties | 2 +- .../dev/crmodders/flux/engine/stages/LoadingCosmicReach.java | 1 + .../java/dev/crmodders/flux/mixins/logging/BlockGameMixin.java | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 6949de3..56297bf 100644 --- a/build.gradle +++ b/build.gradle @@ -116,6 +116,8 @@ dependencies { // Logging shadowMe("org.slf4j:slf4j-api:${slf4j_version}") + gameMod(files("./run/PopStructures-1.4.3.jar")) + } processResources { diff --git a/gradle.properties b/gradle.properties index 6d1f469..528981e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ flux_desc = The central modding API for Cosmic Reach Fabric/Quilt group = dev.crmodders # Game & Loader -cosmic_reach_version = 0.1.38 +cosmic_reach_version = 0.1.43 cosmic_quilt_version = 2.1.1 fabric_loader_version = 0.15.7 diff --git a/src/main/java/dev/crmodders/flux/engine/stages/LoadingCosmicReach.java b/src/main/java/dev/crmodders/flux/engine/stages/LoadingCosmicReach.java index a99dba2..92439a7 100644 --- a/src/main/java/dev/crmodders/flux/engine/stages/LoadingCosmicReach.java +++ b/src/main/java/dev/crmodders/flux/engine/stages/LoadingCosmicReach.java @@ -72,6 +72,7 @@ public void doStage() { try { IModBlock block = blockFactory.generate(); Identifier blockId = loader.blockLoader.loadBlock(block); + System.out.println(blockId); FluxRegistries.BLOCKS.register(blockId, block); } catch (BlockLoadException e) { LOGGER.error("Cannot load block: \"{}\"", e.blockName, e); diff --git a/src/main/java/dev/crmodders/flux/mixins/logging/BlockGameMixin.java b/src/main/java/dev/crmodders/flux/mixins/logging/BlockGameMixin.java index a41f99e..f993fd8 100644 --- a/src/main/java/dev/crmodders/flux/mixins/logging/BlockGameMixin.java +++ b/src/main/java/dev/crmodders/flux/mixins/logging/BlockGameMixin.java @@ -29,7 +29,7 @@ private void print1(PrintStream instance, String x) { } @Redirect(method = "printGLInfo", at = @At(value = "INVOKE", target = "Ljava/io/PrintStream;println(Ljava/lang/String;)V"), require = 0) - private void print2(PrintStream instance, String x) { + private static void print2(PrintStream instance, String x) { List lines = x.lines().toList(); for(String line : lines) { logger.info("\u001B[36m{}\u001B[37m", line);