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

Why are you doing setFull3D twice? Once in item class and in main class. Also does the resource location in the ItemRenderer work like that? I thought you had to do modid:texturepath.

The proud(ish) developer of Ancients

Hi

 

For each of the four views(Inventory, first person, third person, entity):

- does it render correctly in 3D?

- if not, what does it look like?  2D, or invisible?

 

This link might help, see the Item Rendering sections

http://greyminecraftcoder.blogspot.com.au/p/list-of-topics.html

and especially

http://greyminecraftcoder.blogspot.com.au/2013/09/custom-item-rendering-using.html

 

I notice that renderItem doesn't handle INVENTORY?

 

-TGG

Hi

 

I think, if you fix your proxy, it will fix your renderer registration problem.  Currently the clientproxy method never gets called.

 

-TGG

Hello I'm obsesed with 3D item rendering.

 

I've found some differences between my mod and yours in the ClientProxy

try to register the renderer like so (taken from my mod):

MinecraftForgeClient.registerItemRenderer(MagicItems.WoodenWand, new RenderWoodenWandItem());

also I usually do in my Item class both this.isFull3D(); and  this.setFull3D(); in the constructor instead of the bFull3D = true.

 

and also in your main mod class don't register the clientProxy.registerRenders but register it on common proxy (I'm doing it like this and it works for me)

and also in your main mod class don't register the clientProxy.registerRenders but register it on common proxy (I'm doing it like this and it works for me)

whoa dude, danger zone there

It will work fine until you try and run your mod on a dedicated server.  Then it will fall in a heap.  Client-side-only stuff like renderers should be in client proxy.

 

-TGG

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.