Learn Minecraft Commands Tutorial - Execute Conditionals (Episode 11)

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 48

  • @slicedlime
    @slicedlime  ปีที่แล้ว +33

    The exercises for this week might be a bit tricky, and combine many of the things we've learned this far. Don't hesitate to join the discord server if you need a hint! discord.gg/aFAnsdv
    If you are stuck on the Lonely Allay exercise - the first version of the companion map had a bug which is now fixed. If you got the map within the first 4 days of the video's release, download a new upgrade pack!
    Also note: there's a bug in the game that marks everything after execute if blocks ... all as red in the syntax highlighting, but the command still works!

    • @RetroDestroyer
      @RetroDestroyer ปีที่แล้ว +2

      Brain Power, ACTIVATE!

    • @我在這裡
      @我在這裡 8 หลายเดือนก่อน

      Slicedlime, I need your help. They changed the /give command
      before i did:
      /give @s minecraft:netherite_sword{Unbreakable:1}
      and now i have to do:
      /give @s minecraft:netherite_sword[...]
      the problem is with Enchantments NBT, I can't make it work. Can you make a tutorial, please?

  • @nur-e-amanrefai9038
    @nur-e-amanrefai9038 ปีที่แล้ว +21

    I never knew it was possible to count entities with the execute if entity command. So much easier than counting individual entities commanded to say hi in chat! This is a really cool series, thank you for all the work you put in.

    • @mkDaniel
      @mkDaniel ปีที่แล้ว +2

      Or using scoreboards (each entity increases score by one), but it is too much setup.

    • @nur-e-amanrefai9038
      @nur-e-amanrefai9038 ปีที่แล้ว

      @@mkDaniel Agreed. Sometimes I just need to know how many marker armorstands I accidently spammed lol

  • @WizardOfDocs
    @WizardOfDocs ปีที่แล้ว +5

    That error message at the very end might be the most informative error message I've ever seen. Good job devs!

    •  ปีที่แล้ว +1

      Minecraft is generally really good with errors. Even crashes often give very useful output, logging is good and in recent years Mojang also added a bunch of performance debugging tools.

  • @crazytiger6
    @crazytiger6 ปีที่แล้ว +10

    Every episode makes me more excited for the next one to come out ❤

  • @KevinKolpack
    @KevinKolpack ปีที่แล้ว +2

    Now I'm getting a much better understanding of how some of the puzzle maps I've played were created. The endless possibilities simply boggle the mind...

  • @slackpython9393
    @slackpython9393 ปีที่แล้ว +2

    Been using this to make a massive trapped castle dungeon for my kid and its been so much better then i could have hoped. Thank you for the tutorial. I wish the f3 worked for bedrock though.

  • @Elmarts
    @Elmarts ปีที่แล้ว +2

    We are waiting for the new episode Masters of PreSlicedlime

  • @Kabukkafa
    @Kabukkafa 6 หลายเดือนก่อน +5

    Please continue the series I need it

  • @crypton1241
    @crypton1241 ปีที่แล้ว +1

    Your tutorial series on commands in really extremy helpful. You have a very good way to illustrate what a command does and how it works and overall quality of the videos is great.
    I'm really looking forwards to the next episodes as I'd love to start creating datapacks based on this commands :-)

  • @Kabukkafa
    @Kabukkafa 6 หลายเดือนก่อน +1

    I use "execute as" as a condition, and it works quite well

  • @Octojen
    @Octojen ปีที่แล้ว +6

    Starting to get some powerful commands here! Great stuff!

  • @cmaz7747
    @cmaz7747 9 หลายเดือนก่อน

    Hey slicedlime the command that starts at 4:26, is there a command that detects if the player or entity is 5 or 10 blocks near a specific block?
    its like: /execute as @a if block ~ ~-1 ~ minecraft:dirt but uses something like distance parameter rather than ~ ~-1 ~.
    I used /execute if blocks command, it worked it wasnt the command that I need but pretty close to it I think.
    Im basically trying to make a block detector, if player gets 10 blocks "near" to the specific block in any direction, redstone signal turnes on.
    I actually think I wont get a response but if I do I would be very grateful.

  • @CatzGod2022
    @CatzGod2022 7 หลายเดือนก่อน +1

    Are you gonna continue this series? Please 🥺🙏

  • @liamharrington6672
    @liamharrington6672 ปีที่แล้ว +1

    This series is so useful! I would love to see one for Bedrock edition, since the commands over there are slightly different.

    •  ปีที่แล้ว +1

      There is often a comment on the videos that lists the differences in MCBE. Not this time, but I think MCBE doesn't have /execute if|unless at all.

  • @nyasaczi7956
    @nyasaczi7956 ปีที่แล้ว +1

    Will these series ever be continued?

  • @HHHjb_
    @HHHjb_ ปีที่แล้ว +3

    I use ~ ~-.1 ~ instead of ~ ~-1 ~ so blocks like grass_path also work

    • @slicedlime
      @slicedlime  ปีที่แล้ว +2

      Sure, depends on what you're looking for and what the situation is.

  • @ahmedmahmoud2000
    @ahmedmahmoud2000 ปีที่แล้ว

    What if i want the command detect a position when a player stand on this position the command run i tried alot but i didn't know how to do it

  • @jamescolvin8429
    @jamescolvin8429 ปีที่แล้ว +1

    This is likely a question best answered in the Discord (if only to address follow up queries) but I want to double check my understanding of the 'execute if blocks' subcommand.
    The first two sets of coordinates define the volume of the source, or put differently, the "answer key", correct? And it does not matter which two vertices of the volume is picked with regards to cardinal directions (provided they entirely encompass your intended source area)?
    On the other hand, the third set coordinates must be the lower northwest corner of the same volume that is being compared to the answer key?

    • @Dhranios
      @Dhranios ปีที่แล้ว +2

      Correct, set 1 and 2 are just 2 opposing corners of the area to compare to, and set 3 is the -x -y -z corner of the area to check for the source area's blocks

    •  ปีที่แล้ว

      But it's generally a good habit to go from negative to positive, even if the commands technically do allow other combinations, because it can easily get very confusing otherwise.

  • @berendvanbeerschot1472
    @berendvanbeerschot1472 ปีที่แล้ว

    What takes it for this man to fnish this godlike tutorial series?

  •  ปีที่แล้ว

    Are there cases when "/execute if" and "/execute unless" are not exact opposites? I mean unusual cases like unloaded chunks. I'm sure if there's a bug and the "/execute" part causes a Java exception, then the rest probably doesn't run with either "if" or "unless", even if the server doesn't crash, but I meant if there is any intended situation in which both behave the same.

  • @benjaminmesserer2471
    @benjaminmesserer2471 ปีที่แล้ว

    Why does the game in 5:12 say that there is a mistake in the command (red scripture)

    • @slicedlime
      @slicedlime  ปีที่แล้ว

      It's a bug in the game.

  • @spacelover4106
    @spacelover4106 ปีที่แล้ว +3

    3:51 We're rich!

  • @juliusbulius64
    @juliusbulius64 ปีที่แล้ว +2

    How do you execute order 66?

    • @Octojen
      @Octojen ปีที่แล้ว +1

      Slicelime is under NDA and can't tell you that!

  • @jonathandubinsky9390
    @jonathandubinsky9390 ปีที่แล้ว

    I wish this was around when I was learning commands.

  • @JoeyLikesDoingStuff
    @JoeyLikesDoingStuff ปีที่แล้ว +1

    is there a way to make a command block place another command block with data in it?

    • @kingacrisius
      @kingacrisius ปีที่แล้ว

      Yes, but it's mostly pointless, the funnier thing to do is to make a command block summon falling block command blocks riding other falling block command blocks riding a redstone block so that when they hit the ground they all run.

    • @kingacrisius
      @kingacrisius ปีที่แล้ว +1

      If you're wondering how to place the command block, the command would be something like /setblock ~ ~ ~ minecraft:command_block{Command:"say Hello World!"}

    • @JoeyLikesDoingStuff
      @JoeyLikesDoingStuff ปีที่แล้ว

      @@kingacrisius thanks!

  • @laineywright2696
    @laineywright2696 ปีที่แล้ว +1

    "If you are following along, you will now know how to identify set blocks and block states;" slicedlime says. NOT me. LOL, but I'm trying by watching and rewatching your videos. Do you have suggestions for a memory block in my cranium?

    • @slicedlime
      @slicedlime  ปีที่แล้ว +1

      You might want to rewatch part 5 about block states: th-cam.com/video/hl9WLdYOYzc/w-d-xo.html

  • @PromptCriticalJello
    @PromptCriticalJello ปีที่แล้ว

    Now my head is running around in little circles with ideas of pigs in the world generating mud blocks intermittently.

  • @benjaminmesserer2471
    @benjaminmesserer2471 ปีที่แล้ว

    You interchanged the "less than" and "less than or equal" when you were reading the signs from top to bottom. Maybe you want to add an information "speech bubble" thingy in the video.

    • @slicedlime
      @slicedlime  ปีที่แล้ว

      I wasn't reading them from top to bottom, I was listing the different comparisons that are available.

  •  ปีที่แล้ว

    Star wipes! Etho approves.

  • @alex_ra.
    @alex_ra. ปีที่แล้ว

    Thanks, slicedlime!

  • @Aeldrion
    @Aeldrion ปีที่แล้ว

    omg