Mojira Archive
MCPE-136892

Command/execute feedback

Steps to Reproduce:

1.I used Minecraft Bedrock Edition 1.17.10.04 to create a flat world.Then I generated an NPC at 1 5 3.

2.I wrote some commands in NPC.

tp @p 1000 64 1000

execute @p ~ ~ ~ detect ~ ~-1 ~ air 0 structure load one_block ~-1 0 ~-1

The mode is button mode.

Expected Results:

These commands mean:  Send me to 1000,64,1000 first, and then let me check whether the block under my feet is Air, If yes, a building will be generated under me. This building is composed of command blocks. This building can summon a block under my feet. I have added a Ticking area for the location of the NPC. I entered this command in the position of NPC:

tickingarea add ~-5 ~-5 ~-5 ~5 ~5 ~5 hh

The game says added successfully.

Observed Results:

However, this NPC only executed the first command and cannot generate buildings under me after I was transferred. Even if there is air under my feet. I waited for a while, but still did not respond.

However, when I remove the underlined part of the second command, detect ~ ~-1 ~ air 0 ,

These commands are executed successfully.

Then I tried another method: I added a Ticking area to the location where I was transferred.After that, those commands are also run successfully.

This may not be a bug, but I hope it can be better.

Picture:

 

 

Incomplete

Jouguzhilu

2021-07-27, 03:51 AM

2023-01-20, 05:55 PM

2023-01-20, 05:55 PM

0

0

Unconfirmed

1.17.10

-