Тёмный

Minecraft Command Tutorial: Learning How to Use /testfor in Minecraft | 1.12.2 | pre-1.13 

Code_Zealot - Java Edition
Подписаться 20 тыс.
Просмотров 124 тыс.
50% 1

The /testfor command in Minecraft has been a well loved command! Sadly, it will not be making its way into the new 1.13 update, however, it won't be necessary, since the functionality will be accomplished by other commands. In this video, we look at the basics of the command and one example of the advanced usage of the command!
Check out the other videos in this tutorial series on how to use commands in Minecraft to learn more!
Documentation for /testfor:
minecraft.gamep...
---------------------------------------------------------------------------------
Social Media
--
Twitter:
/ codezealottuts
Facebook:
/ code-zealot-1836969809...
Reddit:
/ codezealottutorials
Tumblr:
www.tumblr.com...
---------------------------------------------------------------------------------

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 204   
@haha-uj5rj
@haha-uj5rj 5 лет назад
If you want to use /testfor in 1.13 look into the syntax for the /execute if command
@CodeZealot
@CodeZealot 5 лет назад
Thata right! Check out my video on 1.13 /testfor using /execute ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5TF22ndpvrE.html
@Excusedgamer5580
@Excusedgamer5580 Год назад
How do I make a testfor for tags plz
@buzderandy7388
@buzderandy7388 5 лет назад
You just earned a sub good job
@youidaboss713
@youidaboss713 4 года назад
Hello! How do you testfor someone’s coordinates?
@SamIsNotACritic
@SamIsNotACritic 5 лет назад
Is there a way I can use a command like this but for when I'm standing on a specific coordinate set? (e.g 40 56 -1567)
@CodeZealot
@CodeZealot 5 лет назад
Yeah. You want /execute with detect. I will do a video on that soon. Check out my 1.13 /execute tutorials!
@SamIsNotACritic
@SamIsNotACritic 5 лет назад
@@CodeZealot i can't find the detect setting on /execute, where would I find that? (I'm in 1.13 as well)
@ProfePlaysMinecraft
@ProfePlaysMinecraft 4 года назад
perfect.... thanks.... You just earned a sub.
@thelavagod
@thelavagod 3 года назад
0:05 only HTML programmers know what this do
@nightrous3026
@nightrous3026 5 лет назад
I miss /testfor. I used to have fun with that. I made weightless rpg arrows once. They always complicate the nbt data. [My poont being the in ground tag] I also made grenades (utilizing a fishingrod).
@vdputriaja
@vdputriaja 5 лет назад
Isaac Westawski nuub
@garrettzwurm2899
@garrettzwurm2899 2 года назад
Thank you you so much🙏🙏 I been trying to find. A video that works for 30mims🙏🙏🙏
@elizabethbrenner8277
@elizabethbrenner8277 5 лет назад
That was really helpful
@MrMissionkid
@MrMissionkid 5 лет назад
I want in the guild! Thanks for the great videos.
@senioranimations8384
@senioranimations8384 5 лет назад
At least i'm watching this on 1.12.2!
@edtechii
@edtechii 5 лет назад
Hello, thanks for the tutorial. I'm using Minecraft Education Edition and I would like to introduce basics of economy/trading into my lessons. I've read that you can create customizable villagers and have them use emeralds as a currency to trade for items. I cannot find a tutorial on how to do that. If it's not possible, can I use a regular NPC and chain commands like /testfor > /remove > /give to imitate a trading experience? Or can you suggest a better way?
@CodeZealot
@CodeZealot 5 лет назад
It is possible! I will try and upload a vid on that.
@illuminationeye5704
@illuminationeye5704 6 лет назад
Love you videos!
@CodeZealot
@CodeZealot 6 лет назад
Thanks!
@くらっくへど
@くらっくへど 4 года назад
Thank you for existing
@minyxs
@minyxs 4 года назад
How could I tp a specific player within a radius
@FlameAndSlime
@FlameAndSlime 6 лет назад
Do we have to use the comparator? Or can we just stick a chain command block in front of it?
@OrangeLowE
@OrangeLowE 4 года назад
Thanks dude this is video works for my project
@thelavagod
@thelavagod 4 года назад
My first testfor tutorial: Testfor @p[x=5 , y=2 , z=-12 , r=1] put it to repeat,set it to always active and then comparator next to it and please note: if you saw the comparator doesn't work and the previous output says no targets matched selector just stand to the to the coordinates i gave you: 5 , 2 , -12 that's all 😇😇
@Trizo
@Trizo 4 года назад
Is there a way to testfor (using execute) for an unnamed torch so that named torches don't even count?
@BDitty1
@BDitty1 5 лет назад
Can you test for a specific item in the nearest players inventory? And in my version, 1.12.0, the SuccessCount Command does not work at all, any idea why this is?
@ranga3239
@ranga3239 5 лет назад
i wish there was an option to have 1.12 commands in 1.13/1.14
@boomclan5163
@boomclan5163 5 лет назад
Dinosaur man you can
@connordec17games
@connordec17games 6 лет назад
Nice. I needed this
@CodeZealot
@CodeZealot 6 лет назад
Awesome! Thanks for watching!
@thefaun6782
@thefaun6782 4 года назад
How do I make a door that will only open if I’am wearing specific armour? Please I’ve been looking for hours everywhere on how to do this and no one seems to be able to make a door that appears or disappears when you wear say boots for example. please I’m desperate!!
@mr.squeegee5163
@mr.squeegee5163 3 года назад
his intro music reminds me of championship from rolling sky
@djpon3782
@djpon3782 5 лет назад
Thank you so much
4 года назад
What should i do if i want that the command block search for players around the coordinates and not up or down?
@RedBloodAura
@RedBloodAura 2 года назад
I can't testfor items with multiple words, for example /testfor @e[type=item,name=nautilus_shell] but it can't detect it because it has multiple words for the name
@kgaming7599
@kgaming7599 5 лет назад
Oh and /testfor is like "if(/*thingone*/ /*operator*/ /*thingtwo*/) {/*your code here*/}" I know I could just use the // where it says your code here
@UnskilledDriver
@UnskilledDriver 3 года назад
can you do it just for a specific player?
@AD_Rap
@AD_Rap 3 года назад
how do u test for a tag kills another tag and the tag that kills the other tag gets teleported
@hxjdndndnhdjxnxnd3247
@hxjdndndnhdjxnxnd3247 Год назад
How do you do this on Java NOT on a type of block but the radius I can’t find anything about it
@mystery7985
@mystery7985 4 года назад
Woah I pressed the like button and it changed to 1k from 999
@jacobkim3690
@jacobkim3690 4 года назад
Is there a way to get the items with the testfor command?
@3braincelled-spaceboss451
@3braincelled-spaceboss451 3 года назад
For those who are wondering on how not to tag everyone with the same tag use this: /Tag @a[tag=!____,tag=!] add _____ If you want you have more tags add more: ,tag=! Edit: I also subbed to this guy
@deffyboi6558
@deffyboi6558 4 года назад
How can you test for items in your inventory that aren't named?
@longbro9587
@longbro9587 5 лет назад
Hey, i am trying to figure out how to can a players inventory for specific items. Could you post a video on this?
@CodeZealot
@CodeZealot 5 лет назад
I did a video on testing for items on my 1.13 tutorial series using execute. Check it out :)
@okok-lh3hc
@okok-lh3hc 4 года назад
Code Zealot do u have a link to the video???
@uraveragehoovy
@uraveragehoovy 5 лет назад
Thanks a lot!
@LandoGame
@LandoGame 3 года назад
Is there any way to get it to do something went it can’t find something
@abdip6866
@abdip6866 3 года назад
OMG THANK YOU, I WILL SUB YOUUU
@ImKlutzy
@ImKlutzy 5 лет назад
Is there a way to testfor a specific person?
@PartyingGamerGuy
@PartyingGamerGuy 4 года назад
How would I be able to trigger a redstone circuit if there’s 1 person in creative mode in a certain radius, and if 2 people, it won’t?
@thegamingfloodkid9022
@thegamingfloodkid9022 4 года назад
For 1.12.2 how can you have it so when you press a button on a wall (With no command blocks behind it) it sends a signal to a command block from that specif button?
@aa11002
@aa11002 4 года назад
I have 1.16 mcpe beta, and tell me what is /testfor command changed for? Maybe i have to type /tf ? Or something else?
@FlameAndSlime
@FlameAndSlime 6 лет назад
Btw the testfor command is still in Minecraft up to the 1.13 Aquatic Update where I'm at.
@somebodylol4514
@somebodylol4514 5 лет назад
Use the repeat like, when you put the block on a repeat command block, then when you break the block on top of the command block, the block appears again. How do you do it?
@lipslikesugarsc
@lipslikesugarsc 4 года назад
If you wanna know what that texture is called it's called faithful
@Simplisti.
@Simplisti. 3 года назад
Your voice just gave you a sub :o You sound like AntVenom
@CodeZealot
@CodeZealot 3 года назад
XD
@supermagnetfan2968
@supermagnetfan2968 3 года назад
the last one is testfor and tellraw
@alex_tv2521
@alex_tv2521 4 года назад
How can i test for none of a certain entity?
@HWTMZZ
@HWTMZZ 4 года назад
test for If I want to add x y z coordinates, is that okay?
@Cherrythe3v
@Cherrythe3v 4 года назад
How would you implement the test for when you enter a certain area a title screen will pop up?
@hydrauliclogic9999
@hydrauliclogic9999 4 года назад
Are u still checking these comments? Because you just earned a sub
@nighthawkgaming1962
@nighthawkgaming1962 4 года назад
whats the tag thing about is that a score board or is it something to do with the book
@nighthawkgaming1962
@nighthawkgaming1962 4 года назад
also even without the stuff attached to the @p(the range and game mode thing) it still says i dont meet the requirments
@4spyt
@4spyt 5 лет назад
Still works in the latest bedrock update! But is there a way to stop it from flooding chat with '[!: Found (Player) ]' ??
@felx9545
@felx9545 5 лет назад
PLEASE HEEELP! Hey! How can I test for an item in my inventory, that has different data input, for example how can I test for id:log 2(birch wood)? Thank you!
@mrmagikarp1915
@mrmagikarp1915 5 лет назад
FelX sorry I don’t know either
@Mustafa_Yehia
@Mustafa_Yehia 5 лет назад
Up
@crazelygamez9509
@crazelygamez9509 4 года назад
Im making a mini map for my sis thank you you earned a sub
@splashx9928
@splashx9928 5 лет назад
How do testfor a specific inventory in mcpe?
@jeremiah_the_content_pie5289
@jeremiah_the_content_pie5289 4 года назад
Can you set you're respawn radius to 92625383825272816182926 please
@LePereNarbasse
@LePereNarbasse Год назад
about this r=x, is there a way to custom this, like instead of being detecting in a sphere, is it possible to configure it to detect entities in a certain area like a custom x*y*z area ?
@IzukuMidoriya-ft8hc
@IzukuMidoriya-ft8hc 4 года назад
How do i add a scoreboard tag in PE? It doesnt show the "tag" option after plauers in the command
@amritaanshbhandari6199
@amritaanshbhandari6199 6 лет назад
can i test for something at coordinates 100 100 100 with a command block at 0 0 0 but not at 1 1 1
@eddie6584
@eddie6584 3 года назад
How would you use testfor to detect when a players has a score of a specific value?
@sarahmortimore78
@sarahmortimore78 4 года назад
Can you use the testfor command for potion effects
@diamondjplayer5599
@diamondjplayer5599 5 лет назад
Is there a away to remove the text that’s spamed by the command block
@CodeZealot
@CodeZealot 5 лет назад
In Java Edition you can use: /gamerule commandBlockOutput false
@xiDEATHRAGE0ix
@xiDEATHRAGE0ix 3 года назад
I don't know if you still are active but we're in 1.17 now I'm trying to make a mob tower, is there a way to set a command block to conditional and the condition be that no mobs are in the area to continue using the /testfor command?
@randomperson7607
@randomperson7607 6 лет назад
Awesome vid
@CodeZealot
@CodeZealot 6 лет назад
Thanks!
@mariyamjasmine3122
@mariyamjasmine3122 4 года назад
Ohh thanks so much now i finnaly know thanks i m going to subscribe
@joycesnowdell4065
@joycesnowdell4065 3 года назад
Its like a key for the door
@CPTNDDPL
@CPTNDDPL 6 лет назад
is there a way to make a hopper clear itself i built a payment system for a mystery box but i dont want it to get broken if items that dont belong get put in
@CodeZealot
@CodeZealot 6 лет назад
You can use a /summon command to place an empty hopper over top of the old one each time you need to clear its contents
@CPTNDDPL
@CPTNDDPL 6 лет назад
Code Zealot thanks :)
@lebaguette886
@lebaguette886 4 года назад
How do I do it for a named item
@R3Dgamer4205
@R3Dgamer4205 4 года назад
Is there a way to test for hungry levels on bedrock
@thatkid3952
@thatkid3952 3 года назад
Does gov craft exist?
@nashxavier6854
@nashxavier6854 4 года назад
Does it work for mcpe?
@mashernitegames3355
@mashernitegames3355 4 года назад
I dont understand on how to make it testfor someones score and if they have the right score, then it adds another point to that score. Can someone help so it doesnt only target the nearest player
@grammarpolice7923
@grammarpolice7923 3 года назад
Explain, I know a lot, and I will answer
@mikaella4928
@mikaella4928 6 лет назад
Nice video. :)
@CodeZealot
@CodeZealot 6 лет назад
Thanks!
@M.W.C_Tom
@M.W.C_Tom 5 лет назад
Sounds like ant venom
@CodeZealot
@CodeZealot 5 лет назад
Tell that to Ant Venom!
@giggachad9446
@giggachad9446 5 лет назад
@@CodeZealot hi
@hooyooaskin673
@hooyooaskin673 6 лет назад
ok.. what the heck is happening. It's not spamming anymore, but i still see the command with all that stuff and also, it only detects me once and doesnt go off. For example, it detects me and then if i back out, it stays on... ok now that i read that it sounds like something it is meant to do.. maybe... im too lazy to delete that. But also, if i do delete the comparator, i put it back, and it doesn't detect me... idk if im an idiot or something is wrong... PLEASE RESPOND
@Seila-vg5pm
@Seila-vg5pm 4 года назад
@Code_Zealot,how can I do a map of PVP that 1 player remain=teleport to lobby? I know I can do this if the testfor command,but which is the command?
@matt-sp3rg
@matt-sp3rg 5 лет назад
ty man
@JennoB
@JennoB 6 лет назад
Hey, I am a starter in command blocks and want to learn more about it, but I do not know how to find the more complex information I am looking for. Any options for how to learn more about it? It are the small things like where to put "unless" or "if" and other small traits, I think it is called.
@JennoB
@JennoB 6 лет назад
Datatags and things between these: [ ]
@madisonk1914
@madisonk1914 4 года назад
Is there a way to test for a block that isn’t named or to have a command that gives someone a block newly named?
@CodeZealot
@CodeZealot 4 года назад
Yes, join my Discord for command help.
@neithancrack7649
@neithancrack7649 5 лет назад
I cannot understand the RADIOS ....!!!! PLZ TELL 😥😣😣😣😣😣😭😭😭😭😭😭😭😢😢😢😢
@gabutaja5812
@gabutaja5812 4 года назад
What is "m" 5:00
@CodeZealot
@CodeZealot 4 года назад
m is for gamemode. Creative mode is m=1.
@DenisZolotcev
@DenisZolotcev 6 лет назад
(1.12) /testfor @p[r=3] {Inventory:[{id:"minecraft:book"}]} = (1.13) /execute if entity @p[distance=..2,nbt={SelectedItem:{id:"minecraft:book",Count:1b}}]
@mcirvy
@mcirvy 5 лет назад
thanks
@yr8142
@yr8142 5 лет назад
how to find the app request block command
@themoviegeek5947
@themoviegeek5947 6 лет назад
How do you detect what biome your in for minecraf the 1.13?
@vtr171802
@vtr171802 5 лет назад
Press f3.you will see biome type
@FlameAndSlime
@FlameAndSlime 6 лет назад
Subscribed
@user-rh8re2jf5f
@user-rh8re2jf5f 5 лет назад
I use the score board and added myself but I doesn't work I don't know why
@sky4734
@sky4734 4 года назад
Some say he is a cow whisperer
@zacgameplayandroid8412
@zacgameplayandroid8412 5 лет назад
hmmmmmmm...what is testfor means?😕
@mushymushy2500
@mushymushy2500 4 года назад
Im learning this to make an elevator and a escalator
@wolfknight502
@wolfknight502 6 лет назад
I loved it
@JustUniversa
@JustUniversa 3 года назад
Test for still Works in 1.17
@diamondjplayer5599
@diamondjplayer5599 5 лет назад
It’s works on 1.13 bedrock but how do I disable that command chat, it spams player found?
@lillnugget4107
@lillnugget4107 5 лет назад
/gamerule commandblockoutput false
@kgaming7599
@kgaming7599 5 лет назад
Dude "" is web development or HTML how ever you want to say... Minecraft uses Java not HTML, css or js
@progamerboitv752
@progamerboitv752 6 лет назад
Im watching in minecraft 1.3.2 and there is testfor commands!
@CPTNDDPL
@CPTNDDPL 6 лет назад
can you make it so that if it doesnt find something it will activate a chain command block or redstone instead of when it does?
@CodeZealot
@CodeZealot 6 лет назад
Yea, you can. What are you trying to make?
@CPTNDDPL
@CPTNDDPL 6 лет назад
Code Zealot i am making a zombies map and i want it to run another command block that says round(?) when there are no zombies i found a way to do it with redstone i just did a inverted signal but if you know of an easier way LMK
@Yt_Chazplays
@Yt_Chazplays 5 лет назад
Thank you so much im making map for addon
@bobthehognog569
@bobthehognog569 5 лет назад
This helps zealot!
Далее
Minecraft Execute Command [1.20] Tutorial
10:29
Просмотров 681 тыс.
100 Identical Twins Fight For $250,000
35:40
Просмотров 72 млн
🦊🔥
00:16
Просмотров 634 тыс.
How to Create a Country in Minecraft!
18:41
Просмотров 2,8 млн
I abused every command in Minecraft…
9:47
Просмотров 863 тыс.
I Built a GRAPPLING HOOK in Minecraft
10:11
Просмотров 3,5 млн
Is 8-Bit Minecraft Possible?
12:58
Просмотров 1,2 млн
What Mojang DIDN'T Say In Their New Creaking Snapshot
12:32
Minecraft Kids Content Is Absolutely Terrifying
29:01
131 Banned Minecraft Facts
1:00:54
Просмотров 2,2 млн