Topic category: Help with MCreator software
Hello, I am new to the software and trying to make a couple custom items that have effects and sounds when being R clicked, everything i have been wanting to do is working
so the issue, I am making this mod for PIxelmon and just as a gimmick I am trying to make a Pokeflute item that will play a song when R clicked, simple enough i got that to work
just a simple item, Event trigger player R Clicks and it plays the Pokeflute sound i made. now onto the second item where things get weird when i test... I wanted a consumable item that will give 2 minutes of nightvision upon a R click, also easy enough.. did everything i was supposed to and the item works... problem i have is when i click the Pokeflute item now it consumes the Nightvision item automatically, and any item in the game now triggers the nightvision effect as well as playing the Pokeflute theme... what am i doing wrong?
https://ibb.co/Pzg32Dp
https://ibb.co/CMSRt3j
Heres the procedures made for each item
Playing around more it seems like every item made is inheriting eachothers Procedures somehow...
The global procedure works for any item right clicked. Cause its global. Add an if statement that check what kind of item the Player is holding
Or dont use the global trigger, and put the events in the events of the item
ty that worked