For anybody questioning the ! thing, beasically it excludes a certain type of entity, so if you were to do kill @e[type=pig], it would kill the pigs only. But if you were to do kill @e[type=!pig], it would kill everything but the pig.
3:52 the facing command (with the ~) is .....facing if you do facing ~180 ~90 it rotates you 180°X and 90°Y (you turn around a half circle and look up 1/2 of it) you can do really cool stuff with it. You can make a armorstand turn around very smooth when u do a low number like ~1 or ~0.2 The other think you can do is put the coordinates (xyz) with no~ to make the player face at that point.
Thank you so much for this, Daniel! I've already saw these additional commands in the Minecraft wiki but the explanation is confusing... Yours however is much more easier to understand :)
I knew all of these except c and m For the tildas with coords in tp and facing, the tildas represent present location while numbers next to tildas mean how far from it Like ~5 ~-1 ~3 is +5 on x from current location, -1 on y from current location, and +3 on z from current location
Thanks oh and i think c stands for "count" soo if like c=3 its going to pick 3 entities, although your explanation is enough nd understandable since in my opinion what you explained is better than this, great vid! ^o^
I LOVE YOU JUST FOR MAKING THIS VIDEO HELPED ME OUT SO MUCH (also if you plug in a mouse and keyboard or even just a keyboard to type commands it works just like PC)
@SomeDudeOnThe Internet The selector argument 'c' counts the closest entity. To test for the closest 2 villagers within a radius, it would be: /testfor @e[type=villager,c=2,r=RADIUS WANTED] (at least for Bedrock Edition) You can then take the output of this command by running a comparator/chain command from the main command block used.
When I do the /testfor @p [lm=5] And set the command block to repeat, I set it up the exact same. It doesn’t stop. It just repeats over and over and over and over again till I flick the lever off :/
Do you have a comparator? If it's hooked directly to command blocks, you may need to do conditional chains instead, or else they will activate regardless of the test.
@DanRobzProbz the facing thing makes. Your character look at a specific block the ~ symbol is a relative coordinates relative to the command block so if you were to put , /tp @p ~5 ~ ~5 facing ~ ~ ~ would make you look at the command block and tp you 5 blocks in the x axis and 5 blocks in the z axis.
Is there any way to prevent certain players from opening doors/chests, using command blocks? (In a state, not actually locking the chest, for example you can do it with visitor mode, but you can’t deop players with commands...)
To explain !, Basically if added, anything entity after it and before the next bracket will be excluded from the command For example: If u wanted to find different animals in the herd of cows, u would put in /testfor @e[!cows] Note: Minecraft should advise u the correct way to use this if I put it wrong
I'm doing the level reached command on bedrock xbox 1.14.1 and whenever I turn on the repeat testfor command block, it spans the text chat with [found player] how do I make it do this only once per person
I am late but [c=] does mean choice BUT it only does the CLOSEST entity(s). If you do /kill @e[c=1] then that is just /kill @p. It is mainly used for more than 1 for @p
But what if I only want to put my players in survival mode over to adventure mode? Because I am in creative and I don't want to be in adventure mode. Are there anything I can do?
TheDiamondDestroyer1987 you could just set up a repeat command block that has “kill @a[name=!(name of safe player no parentheses),name=!(name of different safe player no parentheses),name=!(name of other safe player no parentheses)” . You’ll have to do that for every safe player separating them with commas. That’s the closest you can do with just using a whitelist or banning people.
Typing on Xbox is a lot easier with a keyboard, most wired keyboards and mice work fine with it. You will need a dongle with multiple USB ports though, because the xbox only comes with one port.
use either scores, tags or level. then you add the player(s) you want to title too. then you can do "/title @a[tag="whatever you called your tag"] title Your msg!! if you don't understand just say and I'll try to explain a bit better :)
Have one command block saying this, (Execute @a [l=6] ~~~ clear @s wooden_sword) if you do that, once you hit lvl 6, you wont have a wooden sword anymore. You can change the lvl amount and the item being cleared. If you want to clear multiple items, make multiple command blocks
C=closest number of entities Type=Type of entity Name=name of entity L=level Lm=level and more R=radius Rm=radius but without nearest your choosen number blocks M=mode Like for more Wish i helped =)
Yes. I made it so that a repeating block tests for mob drops, gives a player money based on those drops, then deletes the drops. totalKillCount would also work and is much better on PC but not on bedrock.
For anybody questioning the ! thing, beasically it excludes a certain type of entity, so if you were to do kill @e[type=pig], it would kill the pigs only. But if you were to do kill @e[type=!pig], it would kill everything but the pig.
I’m pretty good with commands but I forgot how you give a player a radius... could ya help remind me
@@burninghotdogs4876 what do you mean?
yellow mango too late
@@burninghotdogs4876 Ok :/
@@burninghotdogs4876 can u teach me?
3:52 the facing command (with the ~) is .....facing if you do facing ~180 ~90 it rotates you 180°X and 90°Y (you turn around a half circle and look up 1/2 of it) you can do really cool stuff with it. You can make a armorstand turn around very smooth when u do a low number like ~1 or ~0.2
The other think you can do is put the coordinates (xyz) with no~ to make the player face at that point.
execute @p ~~~ execute @e [ type = armor_stand ] ~~~ tp @s ~~~ facing ^^^-1
not sure of it works, just tought of it inside my head.
@@_username remove the execute @p and i think it would work
"Lm" is pretty good for a way to unlock areas on a map. Judt thought of this randomly lmao
Lm stands for level minimum, not maximum.
@@gregory8048 why?
Gregory Kamenetski you do [l=(number),lm=(number)] it makes you have to be at the exact level to activate the test for command to give off a pulse
Cocoa Cacao oh, thank you! I Was so confused
This is the only video explaining about the [ ] command!!! Thank you so much!
use the ^ ^ ^12 and fill with a block. It fills a block where you are looking at like you arre drawing
U need to /execute @p ~~~ setblock ^^^(number) (block) 0
@@skeleyboi I try but I don't think I do it right
@Marios Bairaktarhs alright thx
@Marios Bairaktarhs
No need to separate the ~ it still works
Yesterday I learned how to use the ^^^ and that is a great idea
Thank you so much for this, Daniel! I've already saw these additional commands in the Minecraft wiki but the explanation is confusing... Yours however is much more easier to understand :)
R is suppose to be Radius If Im Not Mistaken
I'm pretty sure it's a tomato toumato situation.
Range? Radius? whats the difference?
@@KiwiQuan range is how far in straight direction and radius is sphere
Yes correct
True
'c' doesn't randomly choose. It targets the closest 2 entity is you do c=2. c=5 will target the 5 closest entities.
I've been finding this for aloooonnnggg time
FINALLY! thank you so much for making this.
Searching lol not finding
Me too I wanted to be a command Boss
Dx,dy,dz means change in values(coordinates)
Very helpful Dan! Great video as usual keep it up bud!
The "M" in "lm" and "rm" stands for minimum i am pretty sure. Maximum is default.
I can confirm it's true
I knew all of these except c and m
For the tildas with coords in tp and facing, the tildas represent present location while numbers next to tildas mean how far from it
Like ~5 ~-1 ~3 is +5 on x from current location, -1 on y from current location, and +3 on z from current location
Although I knew some of these, I learned a lot from this!
Thanks oh and i think c stands for "count" soo if like c=3 its going to pick 3 entities, although your explanation is enough nd understandable since in my opinion what you explained is better than this, great vid! ^o^
LazyBlaze 6629 doesn’t help that the command block targets the closest target for me at least
@@ballisticfuryau308 that is what it does It effects the nearest entity and only effects how many you put c for
How do we test for a specific item in the inventory? if you know could you give me a example?
Ayyy! Great video! Thinking of releasing some of my own commands on my own channel...
I LOVE YOU JUST FOR MAKING THIS VIDEO HELPED ME OUT SO MUCH (also if you plug in a mouse and keyboard or even just a keyboard to type commands it works just like PC)
C is so good for random things, love it
C means count and and it selects the nearest entity’s so c=2 would chose the two closest entities.
your RUclips channel is so helpful and great
Hey I’m trying to make a minecraft zoo. Is there a way to make it so endermen do not teleport out of a certain radius?
Thanks! I've been really trying to figure out what is the use of those and I was trying to make a random player selector for maps...
Are you gonna do like a Murder Mystery thing like that?
Why not @r.
I guess you worked really hard gamer, I salute to you
More like he's a really hard wiki reader lol.
I HAVE BEEN WANTING TO GET INFO ON THIS FOR SO LONG THANK YOU SO MUCH I AM HITTING THE BELL NOW THANKS SO MUCH
In the new version there is 'scores'
How to use it
nita garud [scores={“exampleScore”=“exampleNumber”}]
Thank you soooo much i needed this for map making i dont really like youtube videos but u deserve my like :D your my first youtuber that i liked lel
Btw exclamation marks are useful lol
So for the exclusion would you for example
You want to Kill everything but players so you would
/kill @e [!player]?
Warren -•_•- /kill @e[type=!player]
yes'
if you want to exclude something you do this for example:/kill @e [type=!pig]
How would you put a radius for the choice [c] villiager example?
@SomeDudeOnThe Internet
The selector argument 'c' counts the closest entity. To test for the closest 2 villagers within a radius, it would be: /testfor @e[type=villager,c=2,r=RADIUS WANTED] (at least for Bedrock Edition)
You can then take the output of this command by running a comparator/chain command from the main command block used.
@@Banshee-7 Thanks
With the live, one it gave me the idea of converting good nuggets into xp, and then using xp as money in an adventure map
When I do the /testfor @p [lm=5]
And set the command block to repeat, I set it up the exact same. It doesn’t stop. It just repeats over and over and over and over again till I flick the lever off :/
Do you have a comparator? If it's hooked directly to command blocks, you may need to do conditional chains instead, or else they will activate regardless of the test.
Put a comparator facing away from it, then use the command /gamerule commandlockoutput false. That will stop the spamming messages
@DanRobzProbz the facing thing makes. Your character look at a specific block the ~ symbol is a relative coordinates relative to the command block so if you were to put , /tp @p ~5 ~ ~5 facing ~ ~ ~ would make you look at the command block and tp you 5 blocks in the x axis and 5 blocks in the z axis.
C=Closest not choice
I think it's for Count
It’s Closest
Closest
No, it's count.
It’s count
Thx, I subbed!
Thanks! this video helped a lot!
Is there any way to prevent certain players from opening doors/chests, using command blocks? (In a state, not actually locking the chest, for example you can do it with visitor mode, but you can’t deop players with commands...)
I have some ideas for how to do that in vanilla Java edition but not Bedrock unfortunately
Truly helpful. i know already some except dx,dz or something.
To explain !,
Basically if added, anything entity after it and before the next bracket will be excluded from the command
For example: If u wanted to find different animals in the herd of cows, u would put in /testfor @e[!cows]
Note: Minecraft should advise u the correct way to use this if I put it wrong
its "testfor @e[type=!cow]"
Question, if you name a villager Bob and the you type[type=Bob,=1] ~ ~ ~ summon lightning_bolt, will Bob the villager will be targeted?
Thank you! I didn't know how to make a randomizer for my minecraft manhunt server!
Extremely helpful thanks!
Jody Kelm Not a problem!
:)
Dan it was kill @e [ type=!]
I was getting so mad that he didn’t know this
Bagel DogYT it(!) means expect
EmirGamesLD *except
I still dont get it
Fed ex
Finally i found a video that helps me :-:
Thank you very much this video was so helpful
This is the best tutorial out there
Thank you for this video, I need this to update a previous command block tutorial of mine.
I'm doing the level reached command on bedrock xbox 1.14.1 and whenever I turn on the repeat testfor command block, it spans the text chat with [found player] how do I make it do this only once per person
give them a tag when they reach lvl 5 by adding another cmd block at the end. then make the first cmd block exclude all the people with that tag.
Just turn commandblockoutput to false
OML I AM A COMMAND MASTER AND I'VE BEEN LOOK INFORMATION FOR ALL THESE. I only knew: type, lm, r.
I ment looking not look information…
@@levidaulton3763 you can edit your own comment ;)
Thanks for the commands!!! all that that I didn't know *l=* and *lm=*
Thanks!!!!! :D It really helped!!!!
thanks for the vid.
Now, I can make a minigame map! THANK YOU!!!
btw. i subbed. ☺☺☺😊😊
Always happy to help! :)
I also have a minigame world
Thx a lot brother plus new subscriber
I like your hard work
I have a question, when i have c=1 and use tp ^ ^ ^1, the subject/operated will go for the nearest target for some reason
Thank you so much!!!👍👍👍
On the facing one command on the m its looking on the coordinates you putted at the command block
Is there a way to keep all xp after death besides your inventory I’ve tried many methods that doesn’t seem to work
I saw the intro and instly subed lol
21e liker and thxn for the info DanRobzProbz
thank you so much! really helped.
Tysm for this guide! I'm really good at commands but i still didnt know a few like [x= y= z= l= lm= xm=....
x
means x coord
y
means y coord
z
means z coord
l
means level
lm
means level minimum
xm
*i just really dont know yet tbh*
XYZ doesn't seem to work for me
I did test for @e [X=7,z=12] and all the entity's in the world got listed
I was hoping for more advanced commands as these are easy to me, very good for beginners though.
I am late but [c=] does mean choice BUT it only does the CLOSEST entity(s). If you do /kill @e[c=1] then that is just /kill @p. It is mainly used for more than 1 for @p
thx a ton now i know more commands!
I love these commands they are awesome
But what if I only want to put my players in survival mode over to adventure mode? Because I am in creative and I don't want to be in adventure mode. Are there anything I can do?
I already know the command but tp facing helped me a lot just facing not tp
Hey thank you for the help I know how to use all commands now I am a command expert now thanks
/tp @e[type=!pig] ~ ~ ~ is a good use of the !. It will teleport all entities to your location except pigs
Hey so you mean
! Are for except
Yep
How would we exclude certain people playing on the world?
TheDiamondDestroyer1987 you could just set up a repeat command block that has “kill @a[name=!(name of safe player no parentheses),name=!(name of different safe player no parentheses),name=!(name of other safe player no parentheses)” . You’ll have to do that for every safe player separating them with commas. That’s the closest you can do with just using a whitelist or banning people.
11:29 if you put an exclamation mark like `name=!ME` it would choose any armor stand except the one named ME
Now how do I give myself a multi shot 1000 crossbow with quick charge 5 so I can mess around with it?
OMGG THANK YOU FOR THISSS ❤️
I see RUclipsrs use several different commands in one block is this possible in Playstation edition also ?
How can you get dyed leather armor in bedrock by using commands?
Dude. You just dye it in a cauldron. Get a bucket of water, put it in the cauldron and dye it.
@@hassanabbas8964 no I'm finding a way on how to get it by just using commands
Is testing for an item inside of a players inventory not a thing anymore?
Thank you so much, this was so helpful!
Okay but what about can destroy and can place on
Typing on Xbox is a lot easier with a keyboard, most wired keyboards and mice work fine with it. You will need a dongle with multiple USB ports though, because the xbox only comes with one port.
What if I wanted the title on a specific players screen instead of the closest player?
/title “players name” title “message”
use either scores, tags or level. then you add the player(s) you want to title too. then you can do "/title @a[tag="whatever you called your tag"] title Your msg!!
if you don't understand just say and I'll try to explain a bit better
:)
@@Zensambell i understand thank you for the help
@@beanbagburrito glad I could help :)
@@clarkpark How detect he stays 1 players on game pls help
I have been looking everywhere for a working 'can use on' command for Bedrock 1.14, I can't find it anywhere. Anybody know how to do it?
There is another video of his which explains it in the "Commands for Adventure Maps" video. sorry if you already figured it out .-.
@@ambiguousname1336 Thanks!
I love your content
YAY fly Thanks dude, that means a lot!
:)
This is very helpful
You help me alot 😀
For me when I did the lightning bolt command it only lightning bolt 1 villager but every villager turned into a witch
@Damon Hunt pls you know command when he stays 1 players in game pls help
I think they are close too each other....
how do you make it so that you have to be a certain lvl to continue or use an item
Have one command block saying this, (Execute @a [l=6] ~~~ clear @s wooden_sword) if you do that, once you hit lvl 6, you wont have a wooden sword anymore. You can change the lvl amount and the item being cleared. If you want to clear multiple items, make multiple command blocks
Thanks I've waited so long
You can use it for kill @e [type=!Player ] .....but this was helpful nonetheless. ....especially for those who have no idea what they are doing
how do you do the thing that changed the amount of xp u get at a time?
Can you do other entities other than armor stands
i love the Intro
Any way you could make it so whoever pushed the button gets the item instead of using give @p
So with r you could
/kill @e [rm=7]
And it would kill everything that was more then 7 blocks away right?
Warren -•_•- Yes exactly!
:)
Yes, now I know how to play god
C=closest number of entities
Type=Type of entity
Name=name of entity
L=level
Lm=level and more
R=radius
Rm=radius but without nearest your choosen number blocks
M=mode
Like for more
Wish i helped =)
thank you so much! :D
Np!
:)
C=count. Count is 2. Two entities within the selection.
/testfor @e[r=15, c=2, type=villager] two villagers in a 15 block radius.
does anyone know how to fix the "bug" line 1 column 2 missing '' or object member name?
I learned one thing new rm thanks gonna use that in a command and show my friend (cause only on cares bout commands)!
Can u pls give me a download to the world the level maximum thing repeats pls help its stupid while at the end doesnnt rrpsae rim confused wrf
I have a question: can we actually use command block to make mobs become valuable. Like when we kill them. We get money (scoreboard)
Yes. I made it so that a repeating block tests for mob drops, gives a player money based on those drops, then deletes the drops. totalKillCount would also work and is much better on PC but not on bedrock.
how do I "replaceitem entity @e[type=armor_stand, r=5] slot.weapon.mainhand 1 Name_tag 1" with a name tag that is named for example "teleporter" ?
for bedrock 1.12.2
You can only do that on Java