How to make item invisible on right click?

Started by QuackAndCheese on

Topic category: Help with modding (Java Edition)

Last seen on 23:25, 3. Apr 2022
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make item invisible on right click?

So, I was wondering if there was any way to make a held item toggle visibility on right click? I'm using a blockbench model for the item if that matters.

Last seen on 17:36, 3. Feb 2024
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could add another…
Sat, 04/02/2022 - 16:00

You could add another texture mapping to the item model using a blank texture and then duplicate your item in MCreator and have it use that new mapping. Then add a right-click procedure where the "visible" version of the item gets replaced with the "invisible" one, and vise-versa.

It's basically the same concept as how the flower pot is changed in this video: https://youtu.be/uz-Hxmts4dY