Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Will switching Forge versions fix these issues?


Recommended Posts

So originally for my mod I was using Forge 1.14, but I keep noticing things are different or missing. Right now I'm trying to make a config GUI, and I look at tutorials but for some reason there are certain classes that I need to use that just aren't in my installation. People say to use the @Config annotation for my configuration, but that class is not in my net.minecraftforge package. My @Mod annotation also only takes the modid, but I was trying to find a way around the config annotation issue and saw that I needed to create a GuiFactory and register it with the @Mod annotation, but my annotation doesn't take anything else besides the modid. There are also other configuration classes that I'm missing besides @Config. This is becoming a real issue for me, and I'm running out of ways I can find loopholes and work around these missing files. 

Would uninstalling and reinstalling Forge 1.12 (the last stable release version rather than the latest version 1.14) fix that issue? If so, would I have to start from scratch again with my code?

Link to post
Share on other sites
3 minutes ago, lizzyd710 said:

If so, would I have to start from scratch again with my code?

You wouldn't but you would have to fix a lot of things. A lot of names were changed and you have to register all your Item models yourself. I'm not sure if the @Config system is implemented but it probably is. Are you using the most up to date forge version?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to post
Share on other sites
3 hours ago, lizzyd710 said:

My @Mod annotation also only takes the modid,

Everything else it used to take is now in the toml file.

 

Registration of things is also massively changed.This goes for nearly everything that was not already previously a IForgeRegistryEntry object (there used to be about 5 or so registries: blocks, items, enchantments, biomes, and one or two others, there's now 35 or so). Config stuff also changed, but as I haven't poked at them in 1.12 nor 1.14, I don't know what's different.

Edited by Draco18s

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.