FramedBlocks

FramedBlocks

45M Downloads

[Question]: Won't build at correct commit

carbonatek opened this issue ยท 1 comments

commented

Question

Greetings,
I'm trying to build this mod and compile it in order to fix an issue on my server - I use SquareMap, and it has black spots on the map because "level" in the function getMapColor() in IFramedBlock.java returns null, so I tried to fix it on my own, however, there are no maven repositories in the gradle config which are able to provide the necessary files to compile the mod.
What should I do?

Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find xfacthd.contex:ConnectedTextures:2.1.
Searched in the following locations:
  - https://maven.minecraftforge.net/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1.pom
  - https://www.cursemaven.com/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1.pom
  - https://maven.tterrag.com/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1.pom
  - https://maven.blamejared.com/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1.pom
  - https://maven.terraformersmc.com/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1.pom
  - https://maven.shedaniel.me/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1.pom
  - https://repo.maven.apache.org/maven2/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1.pom
  - file:/home/carbon/.m2/repository/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1.pom
  - https://maven.neoforged.net/releases/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1.module
  - https://maven.neoforged.net/releases/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1.pom
  - https://maven.neoforged.net/releases/xfacthd/contex/ConnectedTextures/2.1/ConnectedTextures-2.1-slim.jar

and many more things from maven being undownloadable.

Compiling at: 1cc1435

commented

The dependency in question is not publicly released anywhere so you need to clone the git repository for it and publish it to mavenLocal.
With that said, FramedBlocks is the entirely wrong place to fix this. The parameters of BlockBehaviour.BlockStateBase#getMapColor() are not nullable and Forge allows mods to actually use the parameters of that method. As such SquareMap should not be passing in null.