Jump to content

[1.7.2][solved] block texture won't load in hot bar


Recommended Posts

Posted

I have a block that changes its textures depending on the tile entity data it has. I already know how to tell it to switch textures and that is not the problem. When placed down in the world the block has the assigned default texture but when it is in your hot bar it doesn't have a texture. I have tried figuring out why it isn't assigning the texture but am stumped.

 

width=800 height=449sE3rhhw.png?1 [/img]

 

Here is my code...

 

Block Class

 

  Reveal hidden contents

 

 

Main Class

 

  Reveal hidden contents

 

Posted

Thank you so much. Adding the other getIcon method allowed the textures to go through but the other one was still used for the blocks in place. Can't believe that I didn't think of that before posting on the forums.

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.