Jump to content

[1.9] Change Vanilla Inventory Icon for Skulls


ellbristow

Recommended Posts

I am creating a mod that replaces the vanilla mobs (Zombie, Skelli, and Wither Skelli) with Bears to make the game a little more family friendly for those who are uncomfortable with these ideas.

 

So far I have successfully replace the mob model and textures, and I have changed the model and texture of PLACED mob heads, but I can't work out how to change the icon in the inventory since they changed it to the Block model. In 1.7.10 it was easy, as I just overwrote the vanilla Minecraft texture, but this approach doesn't work any more as the textures no longer appear in net.minecraft.textures.items. The change was made in 1.8 but I never bothered updating the mod until 1.9 was released.

 

Can anyone point me in the right direction to replace icon textures for mob skulls in the inventory?

 

Thanks

Link to comment
Share on other sites

Skulls are rendered using

TileEntitySkullRenderer

both as blocks in the world and items in inventories. This uses the texture of the skull's entity type, so overriding that with a resource pack should change the texture of the entity and its skull.

 

How did you manage to change the model and texture of the block form but not the item form?

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.



×
×
  • Create New...

Important Information

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