#Help me Build 1.19.3 Charmonium please
100 messages · Page 1 of 1 (latest)
The source code for charmonium hasnt been updated since 1.18.1 so i am changing the title
Port Charmonium mod from 1.18.1 to 19.3
Port Charmonium mod source from 1.18.1 to 19.3
The curseforge page has jars for 1.19.2 but im not sure if its possible to un build them into source code
@graceful mist I found the 1.19.3/4 branch on the GitHub.
THANKS that makes it soooo much easier
You should be able to build it from source
yup and i thankfully know how to do that lol
you dont realise how helpful you have been
No problem
godamn it it was just in the branches? I'm an idiot.
Yeah, it’s fine we have all been there
I NEVER look at the branch lol
the dropdown blends in with the rest of the stuff lol
Yeah sometimes it’s there for certain projects
I don’t know how branches work so I have never used them
same
wait that repo looks different
wheres all the gradle files
oh i found them
they are split fabric/forge
oh what it said it built but i cant find the jar
ok i built it again getting the error
"Could not find svenhjol.charm:charm_api-fabric-1.19.3:5.0.0."
Build 1.19.3 Charmonium
Help me Build 1.19.3 Charmonium please
@graceful mist when I get home I could attempt to build it
k thanks
you have been such a big help to me
The source code does not seem complete
when i tried to build in the fabric folder it said it needed that common file so i put that in the fabric folder it said that it could not find what i mentioned before
The build.sh file tries to remove and then move a file that doesnt exist
setup_symlinks.sh mentions that it is required for GIT bash on windows
Oh hang on the build.sh file executes gradlew build
if i try and do that manually i could probably build it
oh wait i have a mac
i will try and build it now
running setup_symlinks and then build.sh i still get the error ""Could not find svenhjol.charm:charm_api-fabric-1.19.3:5.0.0.""
I tried building it using Ubuntu on wsl, it didn’t build
ah
did it say it was missing charm core or whatever
i tried to add all of the missing files from 1.19.2 but it didnt fix it, and i can actually build 1.19.2
i also tried replacing the build files with the .2 ones but just edited them for 1.19.3 and it still didnt work
Although in the github i found an issue for 1.19.3 which means someone has built it
i would love to see a 1.19.4 build of charm and/or charmonium as well
i found you
just saw your comment haha
i could not build the 1.19.4 branch
yeah, seems like both mods arent buildable yet
yeah
i got close buts its missing charm core
what i did was put the common folder into the fabric folder and build from there
I think we need to uptate from 1.19.2
I will try tomorrow
I am seeing tutorials of modding
ok
i tried to change the loom version and dependencies using that fabric mod helper in the gradle files but it wouldnt build
on the 1.19.2 versions
btw 1.19.2 is written as 1.19.x in the repo
ill put the dependencies here to make it easier(1.19.3)(fabric)
In gradle.properties
yarn_mappings=1.19.3+build.5
loader_version=0.14.19
#Fabric api
fabric_version=0.76.1+1.19.3```
In build.gradle
Loom version 1.1-SNAPSHOT
In gradle.properties
Cloth config version: 9.0.94
Mod menu version 5.1.0-beta.4
Rei version 10.0.596
put them into the 1.19.2 files
Whats this meant to mean
i think you would need to ask in either #mod-dev-1 or #mod-dev-2 about this error
everyones ignoring me
heres my repo btw https://github.com/Meelee35/Charmonium19.3
Deleted it and it didnt work sadly
I searched thru this discord and found a fix.
You need to replace
mappings loom.layered {
officialMojangMappings()
signatureFix("net.fabricmc:yarn:${project.yarn_mappings}:v2")
}
with
mappings loom.officialMojangMappings()
in your build.gradle
To my understanding the signatureFix() was a temporary fix, that isn't needed now, In newer versions.
Here's how I found that in short:
- The error said something about signatures, so I started searching.
Found signatureFix() in build.gradle, weired, what's that?
Let's search "signatureFix" on discord.
Found this:
#toolchain-other message
#mod-dev-1 message
Tried removing signatureFix().
Succes
Thank you so much
does that also mean i can remove the exclusions for mod menu?
wait what line is signaturefix on?
@mortal jolt (You said ping me on reply)
oh wait i am really sorry i didnt see that it was in the line of code i replaced
i am blind
oh wait im getting this error now
> Task :compileJava
C:\Users\Me\Downloads\Charmonium19.3-main\Charmonium19.3-main\src\main\java\svenhjol\charmonium\helper\BiomeHelper.java:24: error: cannot find symbol
return level.registryAccess().registryOrThrow(Registry.BIOME_REGISTRY).getResourceKey(biome).orElse(null);
^
symbol: variable BIOME_REGISTRY
location: interface Registry
C:\Users\Me\Downloads\Charmonium19.3-main\Charmonium19.3-main\src\main\java\svenhjol\charmonium\registry\ClientRegistry.java:16: error: cannot find symbol
return Registry.register(Registry.SOUND_EVENT, res, new SoundEvent(res));
^
symbol: variable SOUND_EVENT
location: interface Registry
C:\Users\Me\Downloads\Charmonium19.3-main\Charmonium19.3-main\src\main\java\svenhjol\charmonium\registry\ClientRegistry.java:16: error: constructor SoundEvent in class SoundEvent cannot be applied to given types;
return Registry.register(Registry.SOUND_EVENT, res, new SoundEvent(res));
^
required: ResourceLocation,float,boolean
found: ResourceLocation
reason: actual and formal argument lists differ in length
3 errors
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
i know limited java so i will try and fix it
Minecraft 1.19.3 had some registry changes. I'm not on my pc now, but this might help you (take look at the Registry section).
https://fabricmc.net/2022/11/24/1193.html
Minecraft 1.19.3 is almost here, with big changes to game internals. Beginning with this update, Mojang have changed their versioning scheme such that ‘minor’ releases like this one may contain larger changes under the hood. As such, the changes in this version affect almost all mods (not even comparable to the changes in 1.18.2, and significant...
thanks
i updated the code but i still get the same error @mortal jolt , I still cant thank you enough for helping me. I will wait for you to be ready. I dont mind at all how long it takes even if it takes a year
and by that i mean i changed Registry.(...) to Registries.
So you have two errors.
The first one is in BiomeHelper.getBiomeKey()
You tried changing Registry.BIOME_REGISTRY to Registries.BIOME_REGISTRY.
Good try, but actually the name was changed to just Registries.BIOME.
You need to learn how to fix these types of error's, this one was really simple.
Tip: If you are using Intellij Idea you can Ctrl + click a class to see it's content.
The second one is in ClientRegistry.sound() method:
there are two issues here, the first one is that you are using a wrong class.
Mappings are basically names for minecraft's classes, methods, etc.
Fabric by default uses Yarn mapping's, developed by it's community.
Charmonium is using official Mojang mappings, that are different.
Yarn's Registries translate's to Mojmap's BuiltInRegistries.
So you need to use BuiltInRegistries.SOUND_EVENT.
The second issue here is that Mojang changed how SoundEvent is created.
After looking at the source code (ctrl + click), I found that instead of using new SoundEvent(res) you need to use a static method SoundEvent.createVariableRangeEvent(res).
Success again.
One thing I can recommend is taking look at this channel:
https://www.youtube.com/@ModdingByKaupenjoe
It has many useful tutorials for many versions, and other usefull stuff.
Like this playlist with different tips: https://youtube.com/playlist?list=PLKGarocXCE1Ee8FFFTS569ABY9V2Uod5D
Welcome to my Channel. You'll find Tutorials by me Kaupenjoe. Currently I am making Tutorials on Minecraft Modding and other Minecraft Modding Related Content.
The tentative schedule for 1.19.3 Tutorials is:
Mon: Fabric Tutorial
Wed: Forge Tutorial
All other contents comes on an irregular basis :)
I also Stream on Twitch Mon & Wed starting a...