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.

Featured Replies

Posted

Hello all,

 

Recently someone helped me override the vanilla HUD, and its working great, however i got stuck again. I'm recreating the classic vanilla hotbar, except it has quite a few tweaks. Basically, If the item is the current selected item, it renders rotating. Otherwise it renders static.

 

I need help on a couple of things.

 

-How do I decide to render the ItemStack as a item or a block?

-How can I render a 3D item (like when an item is dropped ingame)

 

I can render a 3D Block and rotating 3D Block already

The difference between stupidity and genius is that genius has its limits. - Albert Einstein

  • Author

Thanks for the reply, I'd seen you tutorials when browsing but obviously didn't look at them close enough. My HUD overlay cancels the onRenderGameOverlay event, and draws my hud instead. Therefore I was confused as to whether or not I could use certain vanilla minecraft rendering functions. Or whether I had to code from scratch. But I think with the help of your tutorials and browsing some more vanilla code especially ItemRenderer and RenderItem, I should start to get an understanding of what I need to do. It's midnight so I'll have a look tomorrow. I'll get back to you if I get stuck. Thanks again

The difference between stupidity and genius is that genius has its limits. - Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.