Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change skeleton skull item texture #383

Closed
Crystal-Spider opened this issue Mar 29, 2024 · 3 comments
Closed

How to change skeleton skull item texture #383

Crystal-Spider opened this issue Mar 29, 2024 · 3 comments

Comments

@Crystal-Spider
Copy link

Hi, I'd like to change the texture of skeleton skulls when they are items in your inventory (e.g. I don't want to change the texture when the skull is placed or when it's on the entity).
For some context, I'm trying to use Fresh Animations along with Reimagined FA Patch, and with the latter resource pack the skeleton skulls are invisible, both when placed and when in the inventory. I managed to get the placed skulls to appear, and the only way I found to make the item appear too was to revert the Vanilla skeleton texture (basically, Reimagined makes the Vanilla skeleton texture empty so that it doesn't z-fight with its own models, so if I use a png that only has the skeleton head, the skeleton skull item becomes visible again). However, this method makes the Vanilla skeleton appear both for the entity and the placed skulls, with a visible z-fight.

Is there a way with CITR to change only the skeleton skull item texture? I tried doing this:
image
But it had no effect (the CEM file is to fix the placed-down skulls).

This is the skeleton.png file:
skeleton
.
There are no other relevant logs than these:

[16:19:52] [Worker-ResourceReload-19/INFO]: [citresewn] Loading item CIT models...
[16:19:53] [Worker-ResourceReload-19/INFO]: [citresewn] Linking baked models to item CITs...

Is what I'm trying to do possible? Am I doing something wrong?
Thanks in advance

@SHsuperCM
Copy link
Owner

In the hypixel+ resourcepack I've seen that they replace player head items with cits, what they do is replace the model as well.
Try using an item model instead of just a texture in the cit and see if that helps.

@Crystal-Spider
Copy link
Author

Crystal-Spider commented Mar 30, 2024

Thanks to your suggestion, I was able to make it work!

I wonder, can CITR be used to change the appearance of the item when worn in the inventory?
image
image
From third person the head can be seen, but inside the inventory it is invisible.

@SHsuperCM
Copy link
Owner

You might have luck playing with the item display for head in the item model, I am really unsure why it is not showing up in the inventory for you.

Closing the issue for now, glad it helped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants