(Minecraft Java 1.14.4) How do I continuously test if there is air below an entity?Minecraft - How to select flying arrows by NBT data given to them in item formHow to test for the entity closest to the player?Snowballs and Armor Stands in post-1.11Random item dropsDestroy armor on deathMy arrows aren't being executed at by a looping function/command blockHow to test for a dropped item in minecraft? 1.13.1How to create an “impact grenade” in Minecraft 1.13?How do I edit NBT tags of inventory items?(Java Minecraft 1.14) How to detect when a spash potion explodes, and it's position when it explodes?

Atari ST DRAM timing puzzle

Is The Lion King live action film made in motion capture?

Is TA-ing worth the opportunity cost?

Looking for a new job because of relocation - is it okay to tell the real reason?

Why did the RAAF procure the F/A-18 despite being purpose-built for carriers?

Pretty heat maps

Shabbat clothing on shabbat chazon

SQL Minimum Row count

Ex-contractor published company source code and secrets online

Why is there a need to prevent a racist, sexist, or otherwise bigoted vendor from discriminating who they sell to?

Plausibility of Ice Eaters in the Arctic

Is it true that control+alt+delete only became a thing because IBM would not build Bill Gates a computer with a task manager button?

Pandas: fill one column with count of # of obs between occurrences in a 2nd column

In a topological space if there exists a loop that cannot be contracted to a point does there exist a simple loop that cannot be contracted also?

Why should public servants be apolitical?

Tikzcd pullback square issue

As a 16 year old, how can I keep my money safe from my mother?

How to mark beverage cans in a cooler for a blind person?

Non-OR journals which regularly publish OR research

Is there a loss of quality when converting RGB to HEX?

Circle around all points of a layer

sed delete all the words before a match

Generator for parity?

Geometric programming: Why are the constraints defined to be less than/equal to 1?



(Minecraft Java 1.14.4) How do I continuously test if there is air below an entity?


Minecraft - How to select flying arrows by NBT data given to them in item formHow to test for the entity closest to the player?Snowballs and Armor Stands in post-1.11Random item dropsDestroy armor on deathMy arrows aren't being executed at by a looping function/command blockHow to test for a dropped item in minecraft? 1.13.1How to create an “impact grenade” in Minecraft 1.13?How do I edit NBT tags of inventory items?(Java Minecraft 1.14) How to detect when a spash potion explodes, and it's position when it explodes?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I am trying to make an explosive snowball, but I need to test if there is air or a block under the snowball. I tried tags so when it is in the air the snowball gets a tag "air":



/execute as @e[type=minecraft:snowball] at @e[type=minecraft:snowball] if block ~ ~-1 ~ minecraft:air run tag @s add air



But I realized it would not remove the tag if the condition was false.



Is there a block name or something I can put in, like /execute as @e[type=minecraft:snowball] at @e[type=minecraft:snowball] if block ~ ~-1 ~ !minecraft:air run summon tnt ~ ~ ~ Fuse:0 ?










share|improve this question









New contributor



Adam Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    2















    I am trying to make an explosive snowball, but I need to test if there is air or a block under the snowball. I tried tags so when it is in the air the snowball gets a tag "air":



    /execute as @e[type=minecraft:snowball] at @e[type=minecraft:snowball] if block ~ ~-1 ~ minecraft:air run tag @s add air



    But I realized it would not remove the tag if the condition was false.



    Is there a block name or something I can put in, like /execute as @e[type=minecraft:snowball] at @e[type=minecraft:snowball] if block ~ ~-1 ~ !minecraft:air run summon tnt ~ ~ ~ Fuse:0 ?










    share|improve this question









    New contributor



    Adam Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      2












      2








      2


      0






      I am trying to make an explosive snowball, but I need to test if there is air or a block under the snowball. I tried tags so when it is in the air the snowball gets a tag "air":



      /execute as @e[type=minecraft:snowball] at @e[type=minecraft:snowball] if block ~ ~-1 ~ minecraft:air run tag @s add air



      But I realized it would not remove the tag if the condition was false.



      Is there a block name or something I can put in, like /execute as @e[type=minecraft:snowball] at @e[type=minecraft:snowball] if block ~ ~-1 ~ !minecraft:air run summon tnt ~ ~ ~ Fuse:0 ?










      share|improve this question









      New contributor



      Adam Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I am trying to make an explosive snowball, but I need to test if there is air or a block under the snowball. I tried tags so when it is in the air the snowball gets a tag "air":



      /execute as @e[type=minecraft:snowball] at @e[type=minecraft:snowball] if block ~ ~-1 ~ minecraft:air run tag @s add air



      But I realized it would not remove the tag if the condition was false.



      Is there a block name or something I can put in, like /execute as @e[type=minecraft:snowball] at @e[type=minecraft:snowball] if block ~ ~-1 ~ !minecraft:air run summon tnt ~ ~ ~ Fuse:0 ?







      minecraft minecraft-commands






      share|improve this question









      New contributor



      Adam Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Adam Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 7 mins ago







      Adam Williams













      New contributor



      Adam Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 41 mins ago









      Adam WilliamsAdam Williams

      112 bronze badges




      112 bronze badges




      New contributor



      Adam Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Adam Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "41"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Adam Williams is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f355935%2fminecraft-java-1-14-4-how-do-i-continuously-test-if-there-is-air-below-an-enti%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Adam Williams is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          Adam Williams is a new contributor. Be nice, and check out our Code of Conduct.












          Adam Williams is a new contributor. Be nice, and check out our Code of Conduct.











          Adam Williams is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Arqade!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f355935%2fminecraft-java-1-14-4-how-do-i-continuously-test-if-there-is-air-below-an-enti%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

          Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

          19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу