Skip to content

Commit

Permalink
do 0.1.43
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Zombii committed Jul 29, 2024
1 parent c933e71 commit c0d4429
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ dependencies {
// Logging
shadowMe("org.slf4j:slf4j-api:${slf4j_version}")

gameMod(files("./run/PopStructures-1.4.3.jar"))

}

processResources {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> lines = x.lines().toList();
for(String line : lines) {
logger.info("\u001B[36m{}\u001B[37m", line);
Expand Down

0 comments on commit c0d4429

Please sign in to comment.