Terrestria

Terrestria

2M Downloads

[Help wanted] Failing to build

dranorter opened this issue ยท 1 comments

commented

I'm trying to build Terrestria 5.0.9 for a personal project. I might be doing something dumb, as it's been awhile since I did Fabric modding. I only found releases 5.0.8 and 5.0.11. (Edit: oh whoops, I see the 5.0.9 release now.) I'm encountering java.lang.RuntimeException: Failed to setup Minecraft [...] Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 31)). The project is trying to download some JSON which is compressed, and the jackson library either isn't able to handle that or isn't being told to expect compressed JSON.

Before I get too in the weeds, let me state my goal here: I'm trying to compile a version of Terrestria which does not insert its biomes into the overworld (I'll generate the biomes in a custom dimension, via datapack, instead. That part is already working fine). I'm targeting Minecraft 1.19.2, and the only reason I'm using Terrestria release 5.0.9 is that I already know it's compatible with the other mods and worldfile in question. Most likely 5.0.11 is fine. Suggestions as to how to remove Terrestria biomes from the overworld without building a custom jar would be welcome.

Here is more of what Gradle is giving me.

> Configure project :
Fabric Loom: 0.12.56
Missing lastTag or currentTag parameters, aborting changelog creation
No CURSEFORGE_TOKEN specified
Fabric Loom: 0.12.56
Fabric Loom: 0.12.56
Fabric Loom: 0.12.56
Loom is applying dependency data manually to publications instead of using a software component (from(components["java"])). This is deprecated and will be removed in Loom 0.13.
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix.
Deprecated Loom APIs were used in this build, making it incompatible with future versions of Loom. Use Gradle warning modes to control the verbosity of the warnings.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'terrestria'.
> Failed to notify project evaluation listener.
   > Failed to setup Minecraft, com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens
      at [Source: (StringReader); line: 1, column: 2]
   > Cannot invoke "net.fabricmc.loom.configuration.providers.minecraft.MinecraftVersionMeta.hasNativesToExtract()" because the return value of "net.fabricmc.loom.configuration.providers.minecraft.MinecraftProvider.getVersionInfo()" is null

The Gradle options --debug and --info don't seem to provide more useful information.

commented

Ah never mind, it really was an unnecessary rabbit hole. Disabling all Terrestria biomes via the configuration file does exactly what I want.