#axiom.isEditorOpen()
1 messages · Page 1 of 1 (latest)
EditorUI.isActive()
is that a part of the api?
No
But you should be able to use modCompileOnly("maven.modrinth:axiom:3.0.0")
Assuming modrinth's maven isnt still bugged
thnx, i will try it
If 3.0.0 doesn't work, try JMpH3gnj
Oh wait 3.0.0 isn't on modrinth
Either 2.8.1 or JMpH3gnj
hmm, i tried both, but they both give the same error
the build log
A problem occurred configuring root project '<mod>'.
> Could not resolve all files for configuration ':modCompileOnly'.
> Could not find maven.modrinth:axiom:2.8.1.
Searched in the following locations:
- file:/D:/programming/java/minecraft/<mod>/.gradle/loom-cache/remapped_mods/maven/modrinth/axiom/2.8.1/axiom-2.8.1.pom
- file:/C:/Users/<user>/.gradle/caches/fabric-loom/minecraftMaven/maven/modrinth/axiom/2.8.1/axiom-2.8.1.pom
- file:/D:/programming/java/minecraft/<mod>/.gradle/loom-cache/minecraftMaven/maven/modrinth/axiom/2.8.1/axiom-2.8.1.pom
- https://maven.fabricmc.net/maven/modrinth/axiom/2.8.1/axiom-2.8.1.pom
- https://libraries.minecraft.net/maven/modrinth/axiom/2.8.1/axiom-2.8.1.pom
- https://libraries.minecraft.net/maven/modrinth/axiom/2.8.1/axiom-2.8.1.jar
- https://repo.maven.apache.org/maven2/maven/modrinth/axiom/2.8.1/axiom-2.8.1.jar
- https://repo.maven.apache.org/maven2/maven/modrinth/axiom/2.8.1/axiom-2.8.1.pom
Required by:
project :
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Did you add the modrinth maven repo?
It doesn't seem to be looking in it
i added this to the gradle file
Yeah, that's the dependency
But you need to add the modrinth maven repo
How do I use the Modrinth Maven?
it looks like that will do it, but i will need to do that when i get home
At least it appears to exist https://api.modrinth.com/maven/maven/modrinth/axiom/2.8.1/axiom-2.8.1.jar
well, it made gradle happy
thats about where it stops
[22:13:24] [Render thread/WARN] (FabricLoader/Mixin) Error loading class: com/moulberry/axiom/editor/EditorUI (java.lang.ClassNotFoundException: com/moulberry/axiom/editor/EditorUI)
of course adding axiom in the mods folder fixes this, but this makes it a required dependency
got it
You need to add the modrinth maven
Oh there you go
I love when discord doesn't scroll down
You need to check if FabricLoader.getInstance().isModLoaded("axiom") before calling anything
i.e. it should be a soft dependency