Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I just turned my mod into a .jar file and i ran it with the right minecraft forge version but for some reason the textures of the blocks and items I put in with my mod don't work. Yet when I go into my workspace with eclipse and I Run Client the textures and the names of the items and blocks work.

Post your code related with the textures and the directories in the jar file.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

  • Author

To set the texture I am doing this in the class of each block and item setBlockTextureName(TestMod.MODID + ":" + getUnlocalizedName().substring(5));

 

 

What is your modId? and what is the unlocalizedname of the block?

And you didn't post where your textures are in the jar file.

 

PS. It is not recommended to use getUnlocalizedName().substring(5), it could be confusing.

ex) "heatcauldron" and "heatcasing" would have same texture, for the texture name only contains first 5 characters.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

  • Author

My MODID is testmod_yashagoro and the first folder is Assets then testmod_yashagoro then textures then there are three folders blocks items and models and the textures are within those folders

 

P.S. I have to go so i'll be able to reply in 30 minutes to 1 hour

So your texture folder is: assets\testmod_yashagoro\textures?

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

  • Author

I discovered my error after going through my file paths again I realized that my assets folder had the a as an upper case and I changed that to a lower case and it fixed it :P thanks for the help :D

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.