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.

Leaderboard

Popular Content

Showing content with the highest reputation on 04/16/23 in Posts

  1. You shouldn't be playing with opengl calls directly, you will likely just break things when you change things in ways minecraft doesn't understand. Use minecraft's RenderSystem. But in this case, directly modifying the opengl state using any of those calls is not going to work. You are using a buffer to do the rendering. That means it is not doing the rendering immediately. Instead once everybody has had a chance to fill the buffer (long after your code has run); * The rendering state is initialised from the RenderType of the buffer * The buffer is flushed to the graphics card * The relevant shader(s) are called to process the buffer. If you want to do something different you will likely have to make your own RenderType (if one does not already exist that does what you want) or draw directly so you have control of the rendering state. I am not an expert on rendering, so I can't really help you with how to do that.
  2. You are trying to load client classes on the server.
  3. You are not checking the stage, so you are rendering at every stage. https://github.com/MinecraftForge/MinecraftForge/blob/01846c729a21c13cb86447c4e233b83a314b6856/src/main/java/net/minecraftforge/client/event/RenderLevelStageEvent.java#L57 and That's not always true. e.g. when minecraft draws the normal block/entity hitboxes the matrix has been transformed to the camera or if you are using the normal renderers it will have already translated to the block/entity otherwise it will likely be at world 0,0,0 ?

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.