Topic category: Help with MCreator software
I am currently trying to make a custom despawn procedure for a custom item, due to it being limited to only one per world, ive done this via global variables and subsequently need to reset this variable if the Item despawns. Ive tried it with this procedure: https://imgur.com/a/JaCT5Wq
What I want to do is, when the item is dropped, it checks if it is the correct Item (Custom:UnwaveringBladeTier1) and then, for 200 Ticks, each Tick should test if that item is still there and if the global number variable UBExpiration is above -1 (-1 is when the item is removed and the procedure ended. This is meant as a save so that it doesnt happen that you drop the item, pick it up and 198 ticks later you drop it again and it despawns after 2 seconds). However, at the very point it was supposed to check for the dropped Item, it doesnt work. Ive tested that with replacing the whole large part with just sending a message, nothing happened. The answers to this Post (https://mcreator.net/forum/47425/check-drop-item-floor-or-block) is where I got the basics (detection) from.