Closed baka4n closed 11 months ago
did you register your config?
nvm I am just blind, can you provide a source code instead of screenshots
nvm 我只是瞎了,你能提供源代码而不是屏幕截图吗
okey. this repo is on github : https://github.com/dove-home-team/rewrite-save-mod-dove-home-mod This code resource is located in the dovehomemod directory
Is it a problem caused by the architectury API structure? Forge can be used, fabric can't be created and used, I saw that the ad code is written in a similar way, but my style is like this
Can you check if the registerConfig method that you created is being called and see what the output of config is?
It seems that two messages are printed in it without going through this, but it doesn't work, maybe it's a modmenu issue?
what are the errors you have there, because some of them may be related to the config
The console only prints and clicks on the modmenu to show that I don't have a logo, and then it doesn't print that I have other errors
Are there any sample tutorials?
Is there a problem with this link?
Or when introducing dependencies, use modApi
the icon error is from fabric because you have something wrong in your fabric.mods.json but it shouldnt affect this, architectury does load stuff differently so make sure the config button isnt present on the generated_xxxxxx
mod that is auto includes to work around mod loading issues in dev. I use architectury with this library exclusively so there shouldnt be any issues, you can take a look at this https://github.com/AlexNijjar/Extractinator it uses it as is pretty small so it should be easy to follow.
Maybe I found the reason, it's because I'm confused, bakalib's fabric modid is written as dovehomemod, because I copied and changed the forge and didn't change the fabric, and it's more convenient to use variables later. I'm not too embarrassed to bother you for so long, hahahaha
ok thanks you
Bug Description
some code
How to Reproduce?
No response
Expected Behavior
No response
Version
1.0.20
Mod Loader Version
1.19.2-lastversion
Mod Loader
Fabric
Logs or additional context
No response