How to make item invisible on right click?

Started by QuackAndCheese on

Topic category: Help with Minecraft modding (Java Edition)

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.

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