Microsoft MakeCode

Simple Cookie Clicker

I noticed this was kind of a trend to my friends so I made a simple cookie clicker in Minecraft!
Basically:

player.onItemInteracted(COOKIE, function () {
    gameplay.xp(1, mobs.target(LOCAL_PLAYER))
})

Sure that its way too simple but it works! This isn’t really a game i’m publishing here but you can copy the code and play it! Just get a cookie and click it! Enjoy!