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.

Recursion

Members
  • Joined

  • Last visited

  1. I will definitely try to render the player again. But can you explain why you would go for a dummy entity? Right now i am still weighing the two approaches: 1. Making another dummy entity and setViewEntity to this one. 2. Inspect how vanilla does the rendering and make opengl calls somewhere sensible and sort of trying both of them. Regarding the 2nd one, i was able to translate camera(by gl calls) to a certain position in the world after the forge rotation in orientCamera(), but that messed up how the camera rotates(It doesnt rotate about the new position, which makes sense, i guess). But I'm not sure how to fix it.
  2. This approach is easy enough, but by setting renderViewEntity, I am not able to see my self anymore
  3. I am currently developing a mod that involves changing the camera position(without moving the player entity or creating another dummy entity). I located the class net.minecraft.client.renderer.EntityRenderer, but found that, what minecraft does for rendering sleeping etc. is to translate/ rotate, which will, in my case, result in blocks getting culled if the camera is behind player. Is there a way to directly change the camera position? Thanks for helping!

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.