Jump to content

1.6.4 Mod GUI background displaying as missing texture


Collecter128

Recommended Posts

Using the tutorials at

http://www.minecraftforge.net/wiki/Tutorials

and

http://www.youtube.com/user/ScratchForFun

 

I was trying to make a combiner device in Minecraft 1.6.4, using the furnace as a base.

When you click the block to open the GUI, the background displays as the missing texture purple and black design.

 

The code I use to load the texture is:

public static final ResourceLocation gui = new ResourceLocation("MixerDivider", "textures/gui/CombinerasFurnace.png");

 

I have also tried:

public static final ResourceLocation gui = new ResourceLocation("MixerDivider", "/gui/CombinerasFurnace.png");

 

Substituting the texture of my GUI with the Furnace GUI works correctly, but I want to make a different one when the custom device no longer works like a furnace.

 

Important to note is that I had trouble getting the block texture to appear, so I used the tutorial here to fix it: http://www.minecraftforge.net/wiki/Eclipse#Fixing_textures_not_being_copied

I am not sure if this changes anything with the way the GUI should load or not.

Link to comment
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.
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.