Changing the backpack texture while using the GUI

Started by fafsasfafawfasdw on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing the backpack texture while using the GUI

I want to make a backpack that, when opened that is, when its GUI is active changes its texture, and when the GUI is closed, the texture returns to its previous state. I can’t just create a second item with a different texture and swap it, because then the items inside the backpack wouldn’t behaved. I need help with this. I am using mcreator 2025.3 latest snapshot

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Item states, on open set a…
Sat, 10/25/2025 - 11:23

Item states, on open set a custom property to true which switches the items texture. Then obviously switch the variable to false when coming out of the inventory.

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, that helped. Do you…
Sun, 10/26/2025 - 11:17

Thanks, that helped. Do you know how to make it so that the item state only changes the item in hand, and not all items of the same type held in the inventory?