Jump to content

Recommended Posts

Posted

Hey guys, I am brand new to Minecraft modding, and so far the process has been rough. As a software developer of 12 years, it feels like Forge makes WAY too many breaking changes between major versions. Maybe there's some reason the maintainers are forced to do make drastic changes, so I'll hold judgment. Anyways, due to the constant breaking changes, none of the tutorials I find online for adding a new sword (for instance) work anymore. Class namespaces are juggled around, classes are removed, and new approaches are devised for the same functionality.

My current issue is that I can't seem to get 1.19 to recognize my language or texture files. I am using the (maybe old?) approach of using java packages in `src/main/resources`. Is this no longer how it works?

Thanks

Posted

relax, it's infuriating for everyone at first.

you have this forum, you have the discord. more importantly you have a will of fire blazing inside you (you're gonna need it for the first two mods). you'll make it.

and it's not forge's fault. usually. mojang changes things. they changed how guis (windows and controls) are drawn in 1.19 and 1.20. first you say "aaargh, no!". then, in one day, you'll say - "hey, this GuiGraphics system is actually so much nicer than what we had before! no longer do i need to magically know i need to call some static methods from some separate classes.".

language files are unchanged. english goes to src\main\resources\assets\MODID\lang\en_us.json

texture files are changed slightly. your pickaxe texture goes to src\main\resources\assets\MODID\textures\item\awesome_pickaxe.png
similarly for blocks (block subdirectory under textures). if you had them in subdirectories, move them into two directories i said (block and item) and only those two.
if you added something to texture atlases, now you use jsons to add to atlases.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.