Hey everybody, what's going on? It's XRubs here and today out today I'm gonna show you guys how to make this knockback stick So as you can see if I get up to close to this cloud and then I hold this stick as you can see He gets teleported or flung all the way somewhere over oh Yeah, that's that's where he flung pull if we hold it. He will be flung somewhere over here So to get started you need a command block and what you're gonna do is a slash give At S command underscore block and it should give you one command block just like this Now you're gonna go ahead and place the command block and inside of the command block You're going to say repeat and always active now in the command block input what you're going to put is Executes at a has item equals and then curly brackets Item equals and then whatever item you want. So for example I would like a stick to be it but if you wanted to I'm sort of you could also do that as well or whatever So item equals stick for me comma data equals zero comma Location equals slot dot weapon dot main hand and then go ahead and close the curly braces and the bracket And now what you're going to do is you're going to do these three up arrows to TP at E bracket type equals Exclamation mark player this makes it so that it is not the player that gets teleported Type equals explanation mark item this makes it so the item doesn't get teleported R equals three comma you need a comma there as well closely bracket up arrow up arrow 20 up arrow 100 and There you go. You are done. I accidentally Spell tip instead of TP. Sorry. That's my bad So now if you go and place your cow or whatever mobby want it will teleport him all the way somewhere over there I can't find him in the trees, but somewhere over there Here is another cow or two cows for example as you can see he went flying all the way over there And if you want the teleported cow to go away say slash game rule command block output false and That should go away now as you can see if I do it with that cow he gets teleported over there But it does not say TP So that's all for this video if you guys did enjoy make sure to leave a like and subscribe and I will see you guys All in the next one. Bye