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.

TheSpruntz

Members
  • Joined

  • Last visited

Everything posted by TheSpruntz

  1. Ok, its solver. I just changed almost everything and magically it works. Thanks
  2. I edited my code so now it looks like glColor3f(1f, 1f, 1f); glBegin(GL_QUADS); glTexCoord2f(0f, 0f); glVertex3f(1f, 0f, 0f); glTexCoord2f(1f, 0f); glVertex3f(0f, 0f, 0f); glTexCoord2f(1f, 1f); glVertex3f(0f, 1f, 0f); glTexCoord2f(0f, 1f); glVertex3f(1f, 1f, 0f); glEnd(); but i get the same results. I've also tried with Tessellator.addVertexWithUV() and Tessellator.setTranslation() but with weird results: GUI shifted, slimes flying and my block isnt rendering I'm sure it contains the correct texture, because the background is cleared in a rainbow, but over that rainbow there should be a yellow rectangle: glColor4f(1f, 1f, 0, 0f); glBegin(GL_QUADS); glVertex3f(0.8f, 0.2f, 1f); glVertex3f(0.2f, 0.2f, 1f); glVertex3f(0.2f, 0.8f, 1f); glVertex3f(0.8f, 0.8f, 1f); glEnd();
  3. Hi all. I'm testing some ideas i have for a mod. I created a block, assigned a custom renderer for it and it all works. Then, i created a FBO (Frame Buffer Object) and did some code for rendering to it. When i assigned the FBO texture to the custom renderer, it only renders the background but not the quad i'm drawing. Here´s some of the code: https://gist.github.com/anonymous/8154703 And here is a video of this code in action: PD: it actually is a block, not a square in the center of the screen, thanks perspective.
  4. I only used the EntityPlayer object, for compatibility, but I found the problem, a ModLoader method i was using in this class. Your comment made me look at it. Thanks
  5. Hi everyone Im making a mod and after working with !world.isRemote I got this error when running the server: http://pastebin.com/PBdn6c6A I searched for that clas and it was there. And also I tried the client and worked. I checked all my classes in the error log (only one), and it doesn't show any coding error. There I leave the part of my coda that gives the error on debugging: Thanks in advance.

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.