Started by
tigarannie
on
Topic category: Help with Minecraft modding (Java Edition)
Hi this my first time posting here
I am wondering how would I create an item that when the player right clicks it will turn them invisible?
I am really stuck with this.
thank you
Make item give you invisibility potion on a right click.
I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei
Global Trigger: Player right clicks with item (This is for making a procedure)
use the "add potion if entity has specific item in hand" from the template library. Attach it to the global trigger block. Using the potion block, set your duration, potion effect, and level that you want. Make sure that the "if" part has your item that you want in it's slot. Save and go to your item, attaching the procedure to the item for "when player right clicked in air."