Topic category: Help with MCreator modding
So i am currently making a casino mod for 1.10 and i made an item "Lottery ticket". how do i make it so when i right click it rolls a random number between 1 and 50 and if that numver is 15 it gives the player who right clicked 10 diamond blocks? or is that impossible by mcreator standards??? i did see a tag for "when item is right-clicked in air" and it said execute variable but when ever i click that it says "no variables detected"?