Giter VIP home page Giter VIP logo

Comments (17)

Quinntonk avatar Quinntonk commented on August 26, 2024 1

--- com.github.0x3C50:Renderer:master-SNAPSHOT
+--- net.fabricmc:fabric-loader:0.14.9
+--- net.fabricmc.fabric-api:fabric-api-base:0.4.10+e62f51a390 -> 0.4.12+93d8cb8290
+--- net.fabricmc.fabric-api:fabric-resource-loader-v0:0.6.0+6bee109e90 -> 0.7.2+70efcffe90
--- io.github.ladysnake:satin:1.9.0 FAILED

from renderer.

0x3C50 avatar 0x3C50 commented on August 26, 2024 1

Yes, that is actually because you're on the wrong minecraft version. Renderer only supports 1.20 right now due to pretty significant changes regarding apis it uses from 1.19.4 to 1.20. You can downport the library yourself, or use an older version for 1.19.4

The thing I really need is the .obj renderer. Am I allowed to just use that in my project given that I provide credit and a copy of the licence?

Sure, but the obj renderer uses a lot of other internals from the library, you'd need to port those as well

from renderer.

0x3C50 avatar 0x3C50 commented on August 26, 2024

Satin wasn't found, can you send the entire gradle log?

from renderer.

0x3C50 avatar 0x3C50 commented on August 26, 2024

Totally forgot about this issue, did you get it to work? I tried to reproduce the issue a few days ago and it worked fine.

from renderer.

Quinntonk avatar Quinntonk commented on August 26, 2024

originally I was following your guide "How to make a modern fabric client" following the steps I was not able to get it to work but it might of been through my own ignorance of being fairly new to Java / Gradle. I ended up putting it in my repository manually rather than using Gradle because I kept getting that Satin error. Works great though!

from renderer.

0x3C50 avatar 0x3C50 commented on August 26, 2024

Thanks!
I'm gonna close this for now, I'll look into why it fails later. It might be jfrog, but I'm not entirely sure

from renderer.

Goby56 avatar Goby56 commented on August 26, 2024

I'm trying to get the latest version using jitpack and gradle but I get a similar error to @Tobejizzle:
Could not find io.github.ladysnake:satin:1.13.0

I've tried getting the build directly from jitpack but the same error persists.

The version before this works fine but I need the ObjFile.ResourceProvider from the latest version.

from renderer.

0x3C50 avatar 0x3C50 commented on August 26, 2024

I'm trying to get the latest version using jitpack and gradle but I get a similar error to @Tobejizzle: Could not find io.github.ladysnake:satin:1.13.0

I've tried getting the build directly from jitpack but the same error persists.

The version before this works fine but I need the ObjFile.ResourceProvider from the latest version.

This is weird, the dependency resolves correctly on my end. Try to limit the jitpack repository to only accept the dependencies you directly use, the jitpack repo might wrongfully pick up on the io.github.ladysnake group.

from renderer.

Goby56 avatar Goby56 commented on August 26, 2024

I tried adding a includeGroup filter to the jitpack repository but I still get the same error

repositories {
        maven {
              url 'https://jitpack.io'
              content { includeGroup "com.github.0x3C50" }
	}
}

This is how the dependency looks like btw:
include modImplementation("com.github.0x3C50:Renderer:804df50")

Here's the full error if it helps

A problem occurred configuring root project 'Hyper-Explosions'.
> Could not resolve all dependencies for configuration ':modImplementation'.
   > Could not find io.github.ladysnake:satin:1.13.0.
     Searched in the following locations:
       - file:/D:/Github/Hyper-Explosions/.gradle/loom-cache/remapped_mods/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://maven.fabricmc.net/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://libraries.minecraft.net/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://libraries.minecraft.net/io/github/ladysnake/satin/1.13.0/satin-1.13.0.jar
       - https://repo.maven.apache.org/maven2/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - file:/C:/Users/karlr/.gradle/caches/fabric-loom/1.13.0/satin.jar
       - file:/D:/Github/Hyper-Explosions/.gradle/loom-cache/1.13.0/satin.jar
       - https://maven.shedaniel.me/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://maven.terraformersmc.com/releases/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://api.modrinth.com/maven/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://maven.isxander.dev/releases/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
     Required by:
         project : > com.github.0x3C50:Renderer:804df50

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

from renderer.

Quinntonk avatar Quinntonk commented on August 26, 2024

It seems to just be version dependent I got tired of trying to fix it and just went with different commits that did work.

from renderer.

Goby56 avatar Goby56 commented on August 26, 2024

Could it have to do with me not being on 1.20? The mod I'm making is 1.19.3.

from renderer.

0x3C50 avatar 0x3C50 commented on August 26, 2024

I tried adding a includeGroup filter to the jitpack repository but I still get the same error

repositories {
        maven {
              url 'https://jitpack.io'
              content { includeGroup "com.github.0x3C50" }
	}
}

This is how the dependency looks like btw: include modImplementation("com.github.0x3C50:Renderer:804df50")

Here's the full error if it helps

A problem occurred configuring root project 'Hyper-Explosions'.
> Could not resolve all dependencies for configuration ':modImplementation'.
   > Could not find io.github.ladysnake:satin:1.13.0.
     Searched in the following locations:
       - file:/D:/Github/Hyper-Explosions/.gradle/loom-cache/remapped_mods/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://maven.fabricmc.net/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://libraries.minecraft.net/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://libraries.minecraft.net/io/github/ladysnake/satin/1.13.0/satin-1.13.0.jar
       - https://repo.maven.apache.org/maven2/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - file:/C:/Users/karlr/.gradle/caches/fabric-loom/1.13.0/satin.jar
       - file:/D:/Github/Hyper-Explosions/.gradle/loom-cache/1.13.0/satin.jar
       - https://maven.shedaniel.me/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://maven.terraformersmc.com/releases/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://api.modrinth.com/maven/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
       - https://maven.isxander.dev/releases/io/github/ladysnake/satin/1.13.0/satin-1.13.0.pom
     Required by:
         project : > com.github.0x3C50:Renderer:804df50

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

It seems to not have added the repository, can you try adding the satin repository to your own build script manually? Instructions for that can be found on the satin github page.

from renderer.

Goby56 avatar Goby56 commented on August 26, 2024

It seems to not have added the repository, can you try adding the satin repository to your own build script manually? Instructions for that can be found on the satin github page.

I tried doing it manually and after following their instructions and realising they have switched maven group a couple of times, I got it working.

It seems as though they switched maven group for builds after 1.20 which means my mod didn't grab the correct repo. In their instruction they specify that you should use org.ladysnake but for mods prior to 1.20 you should instead use io.github.ladysnake.

I suppose the dependencies for Renderer use the new maven group which explains why it worked for you.

from renderer.

Goby56 avatar Goby56 commented on August 26, 2024

Now I get another issue however. Because the latest version of Renderer is for 1.20, the fabric loader has now started complaining of incompatible mod sets. It wants both fabric-api for 1.20 and Renderer for 1.20.

from renderer.

0x3C50 avatar 0x3C50 commented on August 26, 2024

Now I get another issue however. Because the latest version of Renderer is for 1.20, the fabric loader has now started complaining of incompatible mod sets. It wants both fabric-api for 1.20 and Renderer for 1.20.

Yes, that is actually because you're on the wrong minecraft version. Renderer only supports 1.20 right now due to pretty significant changes regarding apis it uses from 1.19.4 to 1.20. You can downport the library yourself, or use an older version for 1.19.4

from renderer.

Quinntonk avatar Quinntonk commented on August 26, 2024

Now I get another issue however. Because the latest version of Renderer is for 1.20, the fabric loader has now started complaining of incompatible mod sets. It wants both fabric-api for 1.20 and Renderer for 1.20.

I would try using this. I pulled this from a previous 1.19.3 project that for some reason did not have the same satin issue for me.

include modImplementation("com.github.0x3C50:Renderer:f450a9f")

from renderer.

Goby56 avatar Goby56 commented on August 26, 2024

Yes, that is actually because you're on the wrong minecraft version. Renderer only supports 1.20 right now due to pretty significant changes regarding apis it uses from 1.19.4 to 1.20. You can downport the library yourself, or use an older version for 1.19.4

The thing I really need is the .obj renderer. Am I allowed to just use that in my project given that I provide credit and a copy of the licence?

from renderer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.