Jump to content

[1.7.10] Directional blocks don't render correctly in inventory.


Geforce

Recommended Posts

Hey there,

 

I'm adding a "directional" block, just like a furnace or dispenser, in my mod. However, when I look at the block in my inventory, or while holding it in my hand, the "front" texture of my block doesn't face the right way. Even if I copy-paste the BlockFurnace code into my own Block class, when I look at the item, you can't see the front texture of the furnace (every side except the top and bottom has the "side" furance texture). But when I place it down, everything renders correctly. Is this a Forge bug or something? I'm using Forge v10.13.0.1180.

Potato's have skin. I have skin. Therefore, i am a potato.

 

Follow me on Twitter!

http://www.twitter.com/I_Mod_Minecraft

Link to comment
Share on other sites

Hi

 

That just means that the front of your furnace is on the other side of the cube where you can't see it.  From memory, the item renders with a metadata of 0 which (presumably) makes your block face the other way. If you swap your metadata values around (i.e. make north south and east west) it should render with the front visible.

 

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