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

Hi, Im currently in a team that is developing a mod and where I am head-modder.

Dont ask how I became a head-modder, because I dont know half of the possibilities you can do with MC modding. But anyway:

 

I currently got an item that should look like the player is actually holding it in his hand. Because this is the current rendering of it:

 

 

5PXVg.png

 

 

As you can see in the spoiler, Steve isnt holding the item actually in his hand.

I figured I should use IItemRender, but from there I have no idea how to even properly render it.

 

Please link me to a tutorial or something, because I couldnt find one about this, unfortunately.

Thanks for the help in advance,

 

- EducationalPurposes

I am fairly new to Java and modding, so my answers are not always 100% correct. Sorry for that!

  • Author

setFull3D()

In the item constructor might do the trick.

Thank you!This did the trick :)

 

Hi

 

The links on this might help - the various sections on Item Rendering including IItemRenderer and some sample code.

 

-TGG

Thing is, I find those tutorials lacking. I only could find tutorials on how to render it in the inventory, not how the player it is holding.

However this question already has been resolved, I would like to know how to this "with my own code." Just for future reference!

I am fairly new to Java and modding, so my answers are not always 100% correct. Sorry for that!

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.