Jump to content

Recommended Posts

Posted

Hello,

 

I'm trying to make a GUI for my block. And all works, but the GUI-Texture is not at the right position on the screen, and all slots are not at the right position. I tried to just add something to x and y but then is one row of the slots in the right position, and the other rows are not :(. I think i only have to post the GUI-Texture and the GUI-Container class because the TileEntity has nothing to do with the texture:

 

http://gw.minecraftforge.net/vsCx

 

http://s14.directupload.net/images/130810/gvwr8n57.png

 

ss7

You sir are a god damn hero.

Posted

Check the gui tutorials by hydroflame on the forums if you want to learn some tricks to get the images to scale and position correctly :)

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

Posted

Hello,

 

Thank you very much, GotoLink. I just looked at the code of ContainerFurnace and copied it into my Container class. And now it works perfectly!!! ;D

 

ss7

You sir are a god damn hero.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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