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 have a multi texture file and for some reason it only works if it is in the mc jar. in the older versions of forge i had no problem but since the new update i am having lots of problems. and i carnt find a way to fix this, the pic is saying missing (i just kept chaning the coords and it said missing) anyone know how to fix this? the file is 256 by 256.

 

EDIT: i forgot to say that i am using mc forge version 4.0.0.204 incase this helps

If your mod pakage is in Minecraft.common, you can create a folder called gfx into common package and drop here your terrain.png and your item.png (or other names)

 

Example: you have a block YBlock

 

To call your graphics from your mod, use :

 

MinecraftForgeClient.preloadTexture("/gfx/terrain.png");

 

 

to load the textures and in the block file:

 

	@SideOnly(Side.CLIENT)
    public String getTextureFile()
    {
            return "/gfx/terrain.png";
    }

 

It's only a example. You can change the names or the path of your graphics folder if you update the load and call methods

 

Sorry. I don't speak english.

  • Author

Thanks for you help, i will try this once i get back to my dev pc, i wish that there was more tutorials on stuff like this... as how am i ment to know that they changed it.

Thanks for you help, i will try this once i get back to my dev pc, i wish that there was more tutorials on stuff like this... as how am i ment to know that they changed it.

Read the Changelog?

So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.

i never saw this in the changelog...

Well, they still work in minecraft.jar. And like it was described.

So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.

it dossent work, this is why i hate the new forge updates, why change somethign if it works?

 

Nothing would have worked if they didnt update forge since Minecraft's code changed for 1.3 :P

Anyways I was going to post my code here but I found a tutorial on the forge wiki which would be of more use.

Wuppy's Tutorial on how to add custom textures. Should help ya solve all ya problems :)

 

http://wuppy29.blogspot.nl/2012/08/modding-custom-textures-part-1.html

 

 

If you guys dont get it.. then well ya.. try harder...

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.