Jump to content

----------------


chimera27

Recommended Posts

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

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.