How would I test if a player has an air block underneath their feet? (1.14)Test if player has specific item in specific hotbar slot [1.8]Test if a player has drank a water bottle?How to change a certain block with air?How to test for block changeHow would one testfor a block placed?How would I put a random player within a 300 block radius into a teamHow to replace an item the player has in their inventory in 1.13?How do I do /scoreboard players test functions in 1.14?

How does "Te vas a cansar" mean "You're going to get tired"?

First amendment and employment: Can a police department terminate an officer for speech?

How to assign many blockers at the same time?

Submitting a new paper just after another was accepted by the same journal

What ability do tools use?

These were just lying around

U.S. Jurisdiction over Virgin Islands

Word for an event that will likely never happen again

Solution to German Tank Problem

How can this older-style irrigation tee be replaced?

How far did Gandalf and the Balrog drop from the bridge in Moria?

The cat ate your input again!

Is there a Morita cocycle for the mapping class group Mod(g,n) when n > 1?

What is this 1990s horror game of otherworldly PCs dealing with monsters on modern Earth?

Why does the standard fingering / strumming for a D maj chord leave out the 5th string?

Why aren’t there water shutoff valves for each room?

0xF1 opcode-prefix on i80286

How exactly are corporate bonds priced at issue

Plotting octahedron inside the sphere and sphere inside the cube

Took GRE two times, same scores with minor differences - worth sending both?

Are employers legally allowed to pay employees in goods and services equal to or greater than the minimum wage?

Understanding this peak detector circuit

Markov-chain sentence generator in Python

Why command hierarchy, if the chain of command is standing next to each other?



How would I test if a player has an air block underneath their feet? (1.14)


Test if player has specific item in specific hotbar slot [1.8]Test if a player has drank a water bottle?How to change a certain block with air?How to test for block changeHow would one testfor a block placed?How would I put a random player within a 300 block radius into a teamHow to replace an item the player has in their inventory in 1.13?How do I do /scoreboard players test functions in 1.14?






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








1















I'm attempting to make a "midas touch"-eqsue system where the block underneath the player's feet will turn to a gold block. However, I found that'll be troublesome if I don't detect for air blocks, since that will basically allow for the player to jump and walk in mid-air.



My command is currently this;
execute as @a at @s unless block ~ ~-1 ~ air run fill ~ ~-1 ~ ~ ~-1 ~ gold_block



Oddly, it's not looking for any (or simply isn't finding) any air blocks at all. It will detect other blocks and refuse to run there, eg. I replaced "air" with "diamond_block" and it worked in not turning diamond blocks, but it refuses to work with air.



Is this a known bug, or am I missing something?










share|improve this question
























  • It works for me. BTW, shorter version: execute at @s unless block ~ ~-1 ~ air run setblock ~ ~-1 ~ gold_block

    – Fabian Röling
    8 hours ago

















1















I'm attempting to make a "midas touch"-eqsue system where the block underneath the player's feet will turn to a gold block. However, I found that'll be troublesome if I don't detect for air blocks, since that will basically allow for the player to jump and walk in mid-air.



My command is currently this;
execute as @a at @s unless block ~ ~-1 ~ air run fill ~ ~-1 ~ ~ ~-1 ~ gold_block



Oddly, it's not looking for any (or simply isn't finding) any air blocks at all. It will detect other blocks and refuse to run there, eg. I replaced "air" with "diamond_block" and it worked in not turning diamond blocks, but it refuses to work with air.



Is this a known bug, or am I missing something?










share|improve this question
























  • It works for me. BTW, shorter version: execute at @s unless block ~ ~-1 ~ air run setblock ~ ~-1 ~ gold_block

    – Fabian Röling
    8 hours ago













1












1








1








I'm attempting to make a "midas touch"-eqsue system where the block underneath the player's feet will turn to a gold block. However, I found that'll be troublesome if I don't detect for air blocks, since that will basically allow for the player to jump and walk in mid-air.



My command is currently this;
execute as @a at @s unless block ~ ~-1 ~ air run fill ~ ~-1 ~ ~ ~-1 ~ gold_block



Oddly, it's not looking for any (or simply isn't finding) any air blocks at all. It will detect other blocks and refuse to run there, eg. I replaced "air" with "diamond_block" and it worked in not turning diamond blocks, but it refuses to work with air.



Is this a known bug, or am I missing something?










share|improve this question














I'm attempting to make a "midas touch"-eqsue system where the block underneath the player's feet will turn to a gold block. However, I found that'll be troublesome if I don't detect for air blocks, since that will basically allow for the player to jump and walk in mid-air.



My command is currently this;
execute as @a at @s unless block ~ ~-1 ~ air run fill ~ ~-1 ~ ~ ~-1 ~ gold_block



Oddly, it's not looking for any (or simply isn't finding) any air blocks at all. It will detect other blocks and refuse to run there, eg. I replaced "air" with "diamond_block" and it worked in not turning diamond blocks, but it refuses to work with air.



Is this a known bug, or am I missing something?







minecraft minecraft-commands






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 9 hours ago









EarthToAccessEarthToAccess

60013 bronze badges




60013 bronze badges















  • It works for me. BTW, shorter version: execute at @s unless block ~ ~-1 ~ air run setblock ~ ~-1 ~ gold_block

    – Fabian Röling
    8 hours ago

















  • It works for me. BTW, shorter version: execute at @s unless block ~ ~-1 ~ air run setblock ~ ~-1 ~ gold_block

    – Fabian Röling
    8 hours ago
















It works for me. BTW, shorter version: execute at @s unless block ~ ~-1 ~ air run setblock ~ ~-1 ~ gold_block

– Fabian Röling
8 hours ago





It works for me. BTW, shorter version: execute at @s unless block ~ ~-1 ~ air run setblock ~ ~-1 ~ gold_block

– Fabian Röling
8 hours ago










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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f356066%2fhow-would-i-test-if-a-player-has-an-air-block-underneath-their-feet-1-14%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















draft saved

draft discarded
















































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%2f356066%2fhow-would-i-test-if-a-player-has-an-air-block-underneath-their-feet-1-14%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

Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

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