Jump to content

Recommended Posts

Posted (edited)

Hi guys!

Whole day im struggling with assets as my lang file and textures doesnt load.

I tried a few tutorials, but just one work-and this needed to be compiled through cmd, because IntelliJ ***** it up.

I have mod where in @Mod annotation i define modid = mymod.

and assets folder containing

mymod

- textures

    - item

         . some.png

- lang

     . en_us.lang

 

neither one is loaded

and this one https://www.mediafire.com/file/pgstbf34p0xjzn2/tutorialmod-1.12.2.zip/file  is working fine when compiled with cmd .\gradlew build and runclient

I just see a difference when in the working one is setTranslation, which is not supported in first one. But in YT video it worked fine.

 

Please help me, thanks a lot.

Edited by LukeeNko
Posted

First thing first: don't be rude to others just because they just told you a basic simple rule, that is even written in the top section of every page: **1.12, and every version prior to 1.18, is no longer supported**. That means that is very unlikely that some would come to help, simply because the version is too old and many things has changed, so to give a correct answer someone should remember how things works in 1.12.2, which is something typically none would do.

Second: use the appropriate formatting tools when writing posts.
Third: if you really want to get some help you need to provide more context/source to your answer. And for the code part use something like GitHub so it's way easier to look at your code and identify the actual problem. You've also mentioned a video, so it would also be helpful to link the video you mentioned to see if it is even correct in the first place.

All that being said, you should have an error in the debugger console pointing out why your block isn't loading (maybe there's an error in some of the files? The mod id is wrong?). Post that error (using the spoiler tag) so we can actually see what the error is (I'm not going to setup a 1.12.2 dev env just for this...) 

Don't blame me if i always ask for your help. I just want to learn to be better :)

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.