Jump to content

Recommended Posts

Posted

So i wanna make several items that use at most 5 textures, all of them are white but i wanna make it so that a specific layer has a custom tint.

Im trying to make a milkshake that has different flavors, each flavor having a different colored liquid without making 50 textures that are just recolors, to lower clutter. 

I couldn't find anything on the internet, but i might have missed something, so sorry if i did.

  On 2/27/2024 at 2:54 PM, Viler_of_cool said:

So i wanna make several items that use at most 5 textures, all of them are white but i wanna make it so that a specific layer has a custom tint.

Im trying to make a milkshake that has different flavors, each flavor having a different colored liquid without making 50 textures that are just recolors, to lower clutter. 

I couldn't find anything on the internet, but i might have missed something, so sorry if i did.

Expand  

Btw im using 1.20

Posted

can we have a example of that for item 

 

inever could make it work for item 
for blocks i got this

  Reveal hidden contents

 

Posted

i have it as a  class in the main mod folder but dont seems to matter whats is the location 
/home/usuario/workspace/1.20.4/mercmod/src/main/java/mercmod/ColorHandler.java

"src/main/java/mercmod/ColorHandler.java"

  Reveal hidden contents

 

i can not get the item color  part to work 

 

this is mi grass slab 

2024-02-28-12-28-02.png

 

As block when placed it takes the corresponding bioma grass color its fine 

 as item in the inventory or the hotbar and as entityItem dont takes the color is just gray 

 



 

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.