Bro thanks sooo much for this not only the click but before i thought the hasitem comand was only java! My dungeon crawler will go crazy with this now!
This is cool! One thing that I realized when you had the detection command is that they are over complicated. You just summon a bat with 1 heakth (by having it affected with poison 255) and teleport it 0.5 blocks in front of you and then have it detect when it dies.
Make sure all the commands are typed correctly, as even one misspell can break the whole system. If everything seems fine spelling wise, check the previous output box in those command blocks to see what the issue is
For anyone who has issues with the last line of command blocks going off, the very last command block seems to be incorrect, although it seems it was working in the video for some reason. I changed “slot.weapon.mainhand” to “slot.weapon.offhand”, since totems of undying are supposed to be equipped in offhand, and it fixed the click detection for me.
Thanks for the help. Unfortunately that didn't completely resolve the issue. Everything's working flawlessly exept it won't register me hitting the bat. Do you by any chance have a solution for that as well? :)
I have a new video suggestion, how to detect if you click on a block, like when you click on diamond block you'll get diamonds or if you click on any block it gives you effects. Btw I love your videos!!
I'm kinda confused, so you give the bats totems of undying after they're dead? because they don't have them when they spawn? I kinda feel like it would've been easier to spawn them, tag them, give them a totem, then when they don't have a totem, kill them and respawn a new one with a new totem
what if i run too fast and the bat can't teleport as fast as me ? I've tried replacing bat with armor stand and they can not tp in front of my face fast enough
Hey @Guppyduck great tutorial but is their a way so that it only works if like the stick is named test and if it is any other name it won’t work? Or so that the items behave as normal if ur not wearing, but it you put on a special hat you get the click detection.
Sorry for my English, but I’ll try to answer. The first question: yes, in the conditions hasitem={...name=“need name”}, leaving quotes if the name has a space or unusual characters. It will be more difficult about the hat, but you can, it’s the hasitem parameter, just twice. Something like: execute as @a[hasitem={item=stick, location=slot.weapon.mainhand},name=“sausage”] run execute as @s[here hasitem for hat]
I have a better version tath doesnt need to kill a bat, but im not famous or known to show it, would you like to learn it and show it in you channel? Just show me as the creator of click detect.
They already have buttons and levers in the game, this is literally useless info
You’re just a bit on the slow side ☠️
@@Nox1ousBBXfax
are you serious or have you just never made anything with a command block ☠️
You’re right, I’ll delete the video
@@Guppyduck thank u god bless 🙏
This is so much better than armor stands
This is fantastic
This is amazing! Combining this with a lightning bolt or arrow storm command would be VERY fun.
Bro thanks sooo much for this not only the click but before i thought the hasitem comand was only java! My dungeon crawler will go crazy with this now!
I have learned sooo much from your videos and only your videos. Thank you so much!
No addons? You’ve wowed me today, Guppy
finally a use for bats
Definitely a possible better alternative to /replaceitem for custom commands
5:16 why we should to add tag to the bat?
This is cool! One thing that I realized when you had the detection command is that they are over complicated. You just summon a bat with 1 heakth (by having it affected with poison 255) and teleport it 0.5 blocks in front of you and then have it detect when it dies.
Wont bat be visible when dying?
@@howl_1B oh yeah, good point. Then you just stop the death animation like he does. Just another step
the bat emmitt particles when die
@@duzinho4377 It should do the same the way he does it, but he removes it, so you can too.
Hey so I tried this and the bat spawns in gets invisibility and resistance but that last chain of commands don’t seem to work, any tips?
Make sure all the commands are typed correctly, as even one misspell can break the whole system. If everything seems fine spelling wise, check the previous output box in those command blocks to see what the issue is
It could be that one of them is on needs redstone
For anyone who has issues with the last line of command blocks going off, the very last command block seems to be incorrect, although it seems it was working in the video for some reason. I changed “slot.weapon.mainhand” to “slot.weapon.offhand”, since totems of undying are supposed to be equipped in offhand, and it fixed the click detection for me.
Thanks for the help. Unfortunately that didn't completely resolve the issue. Everything's working flawlessly exept it won't register me hitting the bat. Do you by any chance have a solution for that as well? :)
I agree it is a very great video, but usually I just like using data detection where I can detect the items data
I thought I had dementia for making this comment turns out it's just the same pfp
@@Qwert-4960 lmaoooo
Pretty sure that doesn’t work on bedrock though
Background music a little loud but other than that great video👍
Thanks for the feedback, I only recently started editing my own videos
@@Guppyduckya i wish i was better at making videos
i noticed when u remove invisibility for bat it looks like u summon it and i thought its very cool for my item being wand
Nice
I have a new video suggestion, how to detect if you click on a block, like when you click on diamond block you'll get diamonds or if you click on any block it gives you effects.
Btw I love your videos!!
You could use an allay for easy left click detection
Question- is there a way of increasing the bats hit box or make it catch up to you faster?
I'm kinda confused, so you give the bats totems of undying after they're dead? because they don't have them when they spawn?
I kinda feel like it would've been easier to spawn them, tag them, give them a totem, then when they don't have a totem, kill them and respawn a new one with a new totem
I wish everyday is a good day for you!
what if i run too fast and the bat can't teleport as fast as me ? I've tried replacing bat with armor stand and they can not tp in front of my face fast enough
@Guppyduck is there a way to detect if they click a block and it will run a command
Great Video🔥
Can multiple people use this at once?
Yes, but you may encounter some issues if 2 people are directly on top of each other
Hey @Guppyduck great tutorial but is their a way so that it only works if like the stick is named test and if it is any other name it won’t work? Or so that the items behave as normal if ur not wearing, but it you put on a special hat you get the click detection.
Sorry for my English, but I’ll try to answer. The first question: yes, in the conditions hasitem={...name=“need name”}, leaving quotes if the name has a space or unusual characters. It will be more difficult about the hat, but you can, it’s the hasitem parameter, just twice. Something like: execute as @a[hasitem={item=stick, location=slot.weapon.mainhand},name=“sausage”] run execute as @s[here hasitem for hat]
What could I use this for?
Hello, any other way to detect when you hit a player?
I’m trying to simulate the 1.9 experience in Java.
This isn't java
@@lunadotpng That's why he wants to do that
I'm going to build a statue for you
Not sure why, but this method appears to have broken for me in Bedrock 1.21.20/1.21.21. It worked just fine in the previous update.
Try changing the very last command block from “slot.weapon.mainhand” to “slot.weapon.offhand”
Do I need to have 2 items
bro, that was literally genial
YA
Could you make an updated version?
@@SilverGmr this version still works
How to make the bats invisible
umm how do I disable the commands showing in chat?
Put in chat "/gamerule commandblockoutput false"
It's not working 😢
Can You Maybe Put The World Link Into A Pinned Comment Or in The Description Please?
Btw This Was great Video i love This Video
😀
I can’t, it’s a marketplace world
@@Guppyduck what's the name of the map?
Wowwwww
Bruhh the totem name click has not work?
Your using mod everything is work this why not work tag @e[hasitem={item=totem},name=click] add totem is not working why?
I have a better version tath doesnt need to kill a bat, but im not famous or known to show it, would you like to learn it and show it in you channel? Just show me as the creator of click detect.
You’re welcome to show me on my discord, if I decide to make a video on it I will definitely credit you