Vswe's Summer Courses | You're not logged in. Sign up or log in | Server time: | Donate
One can now see other persons' badge hunts. Simply head over to their profiles to access them.

Go back to course page

Climbing the interface ladder

From basic graphical interfaces to very advanced ones

This appears when I try to run code from lecture 1

  • 2014-01-12 21:53:30
    This is a picture of it.
    Is there a way to fix it?


    I changed the fund methods to their named versions. And I checked everything few times!
  • 2014-01-13 14:17:43
    I am guessing you are trying to display the GUI of the block. If you are, you haven't bound your texture, and it renders the current one, which happens to be the one of vanilla gui elements.

    Post your render code.
  • 2014-01-13 19:59:10
    Which file exacty?
  • 2014-01-13 20:25:52
    Thank you very much
    Instead of saying :        Minecraft.getMinecraft().getTextureManager().bindTexture(texture);

    I wrote:

    as in one of the forums it said that one of the fund methods was . getTexture(texture);
  • 2014-08-23 16:05:38
    My code keeps drawing the same vanilla GUI element with Minecraft.getMinecraft().getTextureManager().getTexture(texture);

    Everything else works, so I know this area is the source of the problem.
  • 2014-08-23 16:09:41
    Oh wait, you wrote your post weird, you are supposed to use the bindTexture version instead of getTexture.
  • Log in or sign up to reply to this thread