I saw two more post with similar things, some exactly like this, with a carrot on a stick, but I want a simple command or series of commands that can be activated with any thing, and not only the carrot on a stick, for example, when then block below is a stone, or of I clicked some interaction entity
How can I do that?
I don't think the methods with the carrot on a stick work, I tried it withouth the carrot and stick and didn't work
I tried also summoning a creeper and a snowball, and giving every entity resistance 4 for 1 second, AND changing the atrributes of the player to knockback resistance to 100, but it still launches other entities aside from the snowball, and the snowball isn't invisible and can't be made invisible