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;
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
add a comment |
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
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
add a comment |
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
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
minecraft minecraft-commands
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
add a comment |
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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