How can I change the texture of the stack depending on the number of items?

Started by Someone who al… on

Topic category: Help with Minecraft modding (Java Edition)

How can I change the texture of the stack depending on the number of items?
Fri, 04/25/2025 - 15:30 (edited)

Hello. I have a problem, I can't change the texture of the stack when there are 2 or more elements in it. Maybe you can tell me how I can do this. We are talking about the 2020 version

Edited by Someone who always needs help on Fri, 04/25/2025 - 15:30
Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don’t think this is…
Sun, 05/04/2025 - 11:37

I don’t think this is possible, but you might be able to do it with a procedure.

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it should be possible with…
Mon, 06/09/2025 - 06:45

it should be possible with procedures. items can change textures, like the compass, so while item is in inventory during tick update, get number of items in provided itemstack and change the items property and state accordingly.