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)

Active 3 months ago
Joined Oct 2023
Points:
159

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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
Active 2 months ago
Joined May 2025
Points:
28

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 20
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.

Active 2 days ago
Joined Apr 2025
Points:
41

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 37
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.