How to use the EXECUTE Command in Minecraft! || 1.20+

Поделиться
HTML-код
  • Опубликовано: 2 янв 2025

Комментарии • 126

  • @reformajulesrowald9998
    @reformajulesrowald9998 8 месяцев назад +23

    Man, back in my day this used to be so easy, I'd make cool stuff. Now not so much.

  • @ss15-xd91
    @ss15-xd91 Год назад +11

    Honestly I learned more than I though I would. Even though these commands are hard, the video goes straightforward to the main topics and makes it understandable without wasting much time like others do. This video deserves more views and likes.

    • @EchoEld
      @EchoEld  Год назад

      Thank you very much, I try to keep it informal and straight to the point while still keeping it entertaining. Glad you liked it🔥

    • @No_One_Fr_Idk
      @No_One_Fr_Idk Год назад +1

      ​@EchoEld_MC I think u forgot about some other options like
      /execute algin or /execute anchored

    • @EchoEld
      @EchoEld  Год назад

      @@No_One_Fr_Idk I didn't forget, it's just that I don't think that's super necessary to know how to use as I never really use them myself

  • @roiddron3594
    @roiddron3594 Год назад +4

    This is going to help me a lot. Im currently making a horror map but could never understand the /execute command but i know it's so important. Tysm 😊

  • @RiderlessHarp47.
    @RiderlessHarp47. 2 месяца назад

    Thank you for making this video. I was looking everywhere and everyone kept on telling me the wrong commands. You were the only one who actually showed the correct way to put the commands in.

    • @EchoEld
      @EchoEld  2 месяца назад

      Glad the video helped

  • @creeperperson7428
    @creeperperson7428 5 месяцев назад +2

    Thank you for this. I used to make tnt arrows with my cousin, but one day the command stopped working. Thanks to this video, I made them again!

  • @يونسالعراقي-ي2ر
    @يونسالعراقي-ي2ر 10 дней назад +1

    Can you make a clip in which you explain how you can protect a specific area by activating non-hitting and sabotage? When you leave it, you can do whatever you want, and you return to survival mode.

    • @يونسالعراقي-ي2ر
      @يونسالعراقي-ي2ر 10 дней назад

      It's like a command that protects the area and you can activate adventurer mode When you exit the player area, you can return to survival mode. Can you please make this video? We need it badly

  • @empirorstages
    @empirorstages 7 месяцев назад +2

    honestly idk why moiang changed the execute command so thanks i can finally mess around with commands again

  • @lechatrelou6393
    @lechatrelou6393 8 месяцев назад +3

    5:00 I'm running into the same problem, basically, it checks under the command block and not uner the player, and I don't know how to fix it

  • @ClarencePerdanio28
    @ClarencePerdanio28 9 месяцев назад +1

    Very useful. I've leaned it just by a minute 🔥🔥🔥

  • @minecraftbro-c7c
    @minecraftbro-c7c Год назад +2

    bro this is a very good video and i learned different commands. NICE SETUP

    • @EchoEld
      @EchoEld  11 месяцев назад +2

      Thank you
      Yes I'm two months late

  • @theraiderpillager
    @theraiderpillager Год назад +4

    U should get more than 30 k likes.Thanks for sharing bro.Keep going❤.

    • @МаксЯ-у8з
      @МаксЯ-у8з 5 месяцев назад

      *_THAT'S IT! YOU NEED TO CHANGE "U" TO "YOU" RIGHT NOWWW!!!!!_*

  • @dikakristrian6249
    @dikakristrian6249 10 месяцев назад

    This dude is underrated af... Cool video... You make me now know how to use it

  • @Voidking-rx6oi
    @Voidking-rx6oi 10 месяцев назад +17

    [r=3] doesn’t work

    • @EchoEld
      @EchoEld  10 месяцев назад +8

      Weird, it should work. Try checking that you've put it in the same as the video, for example:
      /execute if entity @p[r=3] run kill @p

    • @kusumadevikilaru3218
      @kusumadevikilaru3218 10 месяцев назад

      Lying

    • @Animatlusion
      @Animatlusion 8 месяцев назад

      Did you put @a?

    • @Obvious5980
      @Obvious5980 8 месяцев назад

      It works [r=3] Means radius of 3 so if u stand 3 blocks or closer it will activate the command so it means u probably put it in wrong

    • @binguscultist1848
      @binguscultist1848 7 месяцев назад

      I can’t do it either

  • @RonanBergin
    @RonanBergin 9 месяцев назад +1

    Hey, I tried the execute if command but it won’t accept my @p when I try to summon something. How do I fix this?

    • @Animatlusion
      @Animatlusion 8 месяцев назад +1

      I can maybe fix it just send the command and I can see what you done wrong.

    • @RonanBergin
      @RonanBergin 8 месяцев назад +1

      @@Animatlusion Thx, I will send it to u shortly 🙏

  • @NonlykeJoshua
    @NonlykeJoshua Месяц назад

    Is it possible to use execute at to make it rain only at the location of a player

  • @DaniDev_x2
    @DaniDev_x2 9 месяцев назад

    TSM this has been a video easy to understand

  • @bykick01
    @bykick01 6 месяцев назад +1

    Hi i have i question how can i replacw the old execute for example the old command use to do execute @p ~ ~ ~ (command) that doesnt work what the new one? Do i do execute at @p ~ ~ ~ would that fix it?

  • @SassafrasSapling
    @SassafrasSapling 4 месяца назад

    How do you execute mobs if close enough to them?

  • @commenter03162
    @commenter03162 10 месяцев назад +2

    The [r=3] only work on repeat(unconditional) why
    Edit:it works in impulse too but only once
    What i wanted is to work every time player gets close but only once a time is there a way to fix it

    • @gli7ch240
      @gli7ch240 9 месяцев назад

      The only thing I can think of is using a tag if you want more help let me know what your command and use for it is then I can help more.

    • @Adrian-Times
      @Adrian-Times 8 месяцев назад +1

      It MIGHT work if you put only the "/execute if entity @p[r=3]" in a repeat command block and then a comparator with the two sticks next to one of the block's sides and then the one stick to a impulsive command block that summons the fangs. That way you always check for the player (repeat block) and then do the summoning in the impulsive one so it happens once. Hopefully it helps or eaven works at all 😂

    • @gli7ch240
      @gli7ch240 8 месяцев назад +1

      Yes a repeat block will with a repeater or comparitors tied to a impulse will only go once because the repeating command once activated once keeps on but it depends on what you want some because there is downsides to this

  • @commandguy-zj9zb
    @commandguy-zj9zb 8 месяцев назад

    how do you take the block away at 2:25? like after you placed them. is there a command for that too?

    • @EchoEld
      @EchoEld  8 месяцев назад

      Yes, there's a command called /fill which I have talked about in another video

  • @TEALSUGAR123
    @TEALSUGAR123 13 дней назад

    This is very helpful yet very funny lol

  • @Sdadssdbjb
    @Sdadssdbjb 2 месяца назад

    Could you make a video on if you’re holding an item or something like that, that would be very useful.

  • @ImguiConfig
    @ImguiConfig Месяц назад

    Can you make a tutorial how to make burning arrow using command

  • @iiserenity645
    @iiserenity645 4 месяца назад

    How about command for certain entity like execute at @e[name=skeleton] and it always no target matched meanwhile there js actual skeleton

    • @AlikanTuazon
      @AlikanTuazon 3 месяца назад

      It's not name instead use @e[type=skeleton]

  • @Arithemusicartist
    @Arithemusicartist 5 месяцев назад

    Maybe someone can help me cause EVERYTHING ONLY talk about the tp command which I know how to do but not what I actually need to do. The only command that works reaches 77 blocks so it defeats the purpose of what I want to do.
    I need to have a boat tp from one set of coordinates to another set using command block (I know it’s an execute command).
    Every time I try either nothing happens or the boat is tp from ANY location up to 77 blocks away from the command block to the desired coordinates but I can’t seem to stop that and ONLY have the boat tp once it reaches a certain set of xyz coordinates. I have the block set to repeat and always on so when the boat would enter the exact xyz coordinates it can then be tp to the desired location. I have tried everything . Can anyone help me with this and give the correct command code?
    Note: I would like to be able to place the command block ANYWHERE and have it tp the boat only once it reaches the coordinates entered. I’m trying to build a water ride and so I would like to be able to build the command blocks far away from the ride but still have it do its job tp the boat. I don’t want to have to worry about putting the blocks 1 or two blocks below the ride in order for it to work.
    Thank you

  • @vyiqqce5499
    @vyiqqce5499 Год назад

    how do i use in dimension? cuz i wanna make it so that the command only runs if a specific player is in one of the 3 dimensions (example, if the player is in the end /kill the player or something)

  • @dependable_tgtv1545
    @dependable_tgtv1545 23 дня назад

    what on earth happened to the simple execute commands. there wasn't any of these before. what a difficult change

  • @see2remember
    @see2remember 9 месяцев назад

    I dont know if this fits in the category
    But im trying to do a command where if you are low enough in the coordinates certain effects will happen like blindness
    And if you use a certain equipment then it cancels the command block giving you light
    Also with this i kinda need the same command but with oxigen bubbles , the deeper you go the more you waste oxigen , and certain equipments give you respiration enchantment effect ... its hard but im trying for a couple days now and cant get it right 😂

  • @CrusionYT
    @CrusionYT 11 месяцев назад

    Can you show a command that teleports you 5 blocks a head to the direction you're facing?

  • @HYPERPlayzz
    @HYPERPlayzz Год назад

    I am trying to do it so it makes sure that someone has a certain score on a scoreboard and if they do then remove 10000 score (for a vip area) my command looks like /execute if score @p Money matches ! 10000 run scoreboard players remove @p Money 10000 and then it says Execute subcommand if score test failed

  • @JuliaIbasco-v7y
    @JuliaIbasco-v7y 4 месяца назад

    what command to make entitys face me?

  • @stingray0001GD
    @stingray0001GD 7 месяцев назад +1

    I tried to do the command: /execute at @e[hasitem={item=allay_spawn_egg}] run execute if block ~~~ water run effect @s strength 1 3 true and it doesnt work. Basically I'm trying to make it so that whenever someone has an allay spawn egg and is in water they get strength. Please help.

    • @crisporio8655
      @crisporio8655 6 месяцев назад

      Maybe because you uses @s instead of the following @p @a @e and others, unless you were using it in the chat command

    • @respected.u
      @respected.u 18 дней назад

      There are different types of water so I think you have to do another one the same except use minecraft:flowing_water

  • @Losjo4093
    @Losjo4093 7 месяцев назад

    How do i make it so it executes a command if you are over y40 in this part here [type=losjo:submarine, r=2, x=~,y=40,z=~,dx=0,dy=-130,dz=0] this is if it is below y40 but how do i make it so it is inverted?

  • @saotomesakura8648
    @saotomesakura8648 11 месяцев назад

    I have been playing since 1.7.2, but I never had need to use command blocks, mostly because I either played survival with my friends or minigames... but now we had set up a realm... but there is not sethome command on realms... welp, I wanted to uses datapacks... but Mojang had an oopsie and datapacks are broken right now. So here I am trying to figure out how to set up command blocks to teleport us hom IF something.... do you have some in depths videos with examples?

  • @StarDoritoYt
    @StarDoritoYt 5 месяцев назад

    Yo which one do i use to teleport players?

  • @YotuLol
    @YotuLol 11 месяцев назад

    honestly, i see that im going to be insane at commandblocks by mastering commands

    • @EchoEld
      @EchoEld  11 месяцев назад

      Well perfect, I have a series releasing soon about how to master command blocks

  • @nmi4097
    @nmi4097 Год назад

    MCPE, i was trying to make 2D Mario, but execute bugs when multiplayer.
    code is this
    /execute at @a as @a run /camera @s set minecraft:free pos ~13 ~ ~ facing @s
    when other player joins, all players' cameras set to the newest player's position +13, but facing themselves works well.
    i think position ~~~ is not working well but i dont know how to change it.
    i think i have to add score x y z and get it, but i dont know that too.

  • @senv_n
    @senv_n 6 месяцев назад

    why does fill command never worked? I prefer the old execute the new execute is BS /execute as (my gamertag) run fill ~10 ~10 ~10 ~-10 ~-10 ~-10 air replace lit_pumpkin

  • @aalekhsushilkumar
    @aalekhsushilkumar 6 месяцев назад +1

    Bro thanks
    😊

  • @aGolemBoy
    @aGolemBoy 4 месяца назад

    can anyone give me command for whenever i get regeneration effect i die

  • @Grad_kronov
    @Grad_kronov Месяц назад

    /execute if entity @e[r=24] setblock 17 -56 108 air , don't work ;( idk who need

  • @Miguel-pm2ps
    @Miguel-pm2ps 8 месяцев назад

    brooo how about x-ray how to use execute command for XRAY

  • @MrGamerDa1st_YT
    @MrGamerDa1st_YT Год назад +1

    Question, how would the command look like if there is a ~~~ in front of the @e,@p,@s,@a.
    I’m trying to make /execute @e[name=?] ~~~ effect @e[r=3] blindness 30000 0 true

    • @funchannel3846
      @funchannel3846 7 месяцев назад

      /execute at @e[name=?] positioned ~~~ run effect @e[r=3] blindless 30000 0 true
      That's the new syntax

    • @Grad_kronov
      @Grad_kronov Месяц назад

      ​@@funchannel3846 how to work
      /execute if entity @e[r=24] setblock 17 -56 108 air 🤔

  • @Jayjob108
    @Jayjob108 Год назад

    what is the point of /execute as?? Why do /execute as @p run /give @s when you can just put /give @p???

    • @SillySammy5
      @SillySammy5 Год назад +2

      the only difference is the use of @s, @s means self while @p means nearest player to where the command is executed. if you were in a world with many people the command block would give the item to the nearest player to the command block, but if you execute as or on another player it will give to the nearest player to that player (which would be that player themself) but if two players are ever on the same coordinate it might get complicated so as and @s are more practical there

  • @faazkaleem4227
    @faazkaleem4227 5 месяцев назад

    ur video was nice but i still dont understand the difference between 'as and 'at'

    • @EchoEld
      @EchoEld  5 месяцев назад

      They are very similar and can be used for basically the same thing but "at" is more referring to the coordinates of whatever you select whereas "as" acts as if it was whatever you select that typed in that command

  • @DiogoYT.5
    @DiogoYT.5 7 месяцев назад

    can anybody help me? In the past I used the command: /execute @e [type=pig] ~~~ detect ~~-1~ grass 1 clone ~~~ ~~~ ~~~ masked with this I cloned the personalized trees I made and thus I built a forest by cloning the tree using the specific mob, in this case when I placed the pig in the grass a tree appeared in its place. But now this command no longer exists because Mojang changed /execute. I wanted a new execute command that serves the same purpose. Anybody know?

  • @moon_gamer5494
    @moon_gamer5494 3 месяца назад

    youre a hero

  • @SHEMs_2024
    @SHEMs_2024 6 месяцев назад

    /execute at @p run setblock ~ ~3 ~ Diamond_block

  • @JasonJeremiah-z3g
    @JasonJeremiah-z3g 3 месяца назад

    where is execute data
    ?

  • @KymaniMasunga
    @KymaniMasunga 4 дня назад

    Execute command scares me

  • @heatherayotte966
    @heatherayotte966 Год назад

    The execute if command does not work

    • @Ninjanmy
      @Ninjanmy Год назад

      Yep
      But i keep trying eventually it worked!
      But i had another command that will need if cmd to work
      But didn’t work after trying a while (idk i didn’t change a single thing except mess around) it worked
      Ig its still experimental in mcbedrock thats why it works sometimes

  • @duckny8316
    @duckny8316 Год назад

    Can Brother add chapters? Pls i need it

    • @EchoEld
      @EchoEld  Год назад +1

      Sadly I can't do it manually. RUclips adds chapters on bigger videos that have a distinct cut between two topics, so while I wish I could, I sadly can't do it

  • @ScripterEdits
    @ScripterEdits 28 дней назад

    Me chillin at 2000

  • @jacobpugpoirier3350
    @jacobpugpoirier3350 7 месяцев назад

    All of my prior knowledge of commands had gone to complete waste, thx to tje update

    • @EchoEld
      @EchoEld  7 месяцев назад +1

      Your welcome

    • @jacobpugpoirier3350
      @jacobpugpoirier3350 7 месяцев назад

      @@EchoEld nvm tje “at” and “run” are my new best friends.

  • @bixypa9969
    @bixypa9969 Год назад

    GOOD Video

  • @يوسفعلاء-ج2ض
    @يوسفعلاء-ج2ض 5 дней назад

    Execute@p run enchant @s unbreaking 3

  • @10Marcraft
    @10Marcraft 22 дня назад

    /execute as @p run give@p

  • @kcrystallz1955
    @kcrystallz1955 7 месяцев назад

    Tysm

  • @pixyl1
    @pixyl1 11 месяцев назад

    tysmmmmmm

  • @Asriel19980
    @Asriel19980 5 месяцев назад

    I do '/execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run execute if entity @p[r=999] run kill @a', it command is right?

  • @Rblxxx_1290
    @Rblxxx_1290 10 месяцев назад

    I swear mojang kept making everything hard

  • @MohdHidayazOsman23
    @MohdHidayazOsman23 Год назад +1

    minecraft give command_block 64 🤔

  • @10Marcraft
    @10Marcraft 22 дня назад

    /execute if

  • @kusumadevikilaru3218
    @kusumadevikilaru3218 10 месяцев назад

    Thank you So f*ck much

  • @10Marcraft
    @10Marcraft 22 дня назад

    /execute at @p run

  • @MohdHidayazOsman23
    @MohdHidayazOsman23 Год назад

    killd !

  • @MohammedMC2
    @MohammedMC2 5 месяцев назад +2

    can u stop over editing the video it annoys very much when u want to learn and see montage every 10 seconds

    • @EchoEld
      @EchoEld  5 месяцев назад +1

      Well while some people agree, a lot of others think that it makes the videos more entertaining and fun to watch while still learning. That's kind of what makes my tutorials unique. They teach stuff in (at least according to many) a more fun way.

    • @MohammedMC2
      @MohammedMC2 5 месяцев назад

      @@EchoEld
      just try and look at the watch time
      the mountain that show till which minute ur viewers watced a specific video in youtube studios app or web

    • @MohammedMC2
      @MohammedMC2 5 месяцев назад

      @@EchoEld that mountain will be more extended like at the intro 100% of viewers watched it
      but after a lil of time look at the parts that theres montage and u will see that pepole left the video because of the over editing
      but when u remove the montage the mountain will be stable at some number like 70 60 50

    • @ThunderZeus_4925
      @ThunderZeus_4925 4 месяца назад

      @@MohammedMC2tbf it’s actually very funny to watch, brightens my day

    • @MohammedMC2
      @MohammedMC2 4 месяца назад

      @@ThunderZeus_4925 idk its about likings

  • @MohdHidayazOsman23
    @MohdHidayazOsman23 Год назад

    run🤔

    • @EchoEld
      @EchoEld  Год назад

      The run is put after the condition right before the command you want to run

  • @ihatetomatoo
    @ihatetomatoo 6 месяцев назад

    finally i can sleep peacefully

  • @ThatOneEverywhereDude
    @ThatOneEverywhereDude 6 месяцев назад +1

    Can you help me?
    Im making a castle gate using command block something doesn't work
    The command: /execute if block (coordinates) lever[ powered=true ] run fill (coordinates) redstone_block
    It just doesn't work, the command block show the mistake is [ >>>powered

    • @Canary_10
      @Canary_10 4 месяца назад

      There should be no spaces in [powered=true]

  • @10Marcraft
    @10Marcraft 22 дня назад

    /execute as @p run give@p