mojira.dev
MCPE-220634

Errors with the commands, are not read correctly

Errors with the commands, the commands are not read correctly by the game when using command blocks or command chains, does the game swap the data? And are being executed incorrectly. Probably the players are not found, or the game confuses the commands.

Linked issues

Attachments

Comments 18

The S "The game messes up the data."Wrong location: teleportation

Errors in the orders. The commands are not read correctly by the game when using command blocks or chain, the game exchanges the data and executes it incorrectly. Probably the players will not be found or the game will confuse the commands.

also Teleportation in the chat also teleports a wrong

​Die execute Befehle funktionieren immer noch nicht so richtig mit der Teleportation man wird immer noch am falschen Standort teleportiert

https://report.bugs.mojang.com/servicedesk/customer/portal/6/MCPE-221798?created=true

8 more comments
[media]

​ Press the left button on the coal block. To go back, walk through the door. Everything is still provisional because of the error.

​​I wanted to apologize again for the duplicate shipments, it was not my intention to make these mistakes

Thank you for the test world and additional information. I will look at the world within a couple days and let you know if the command can be modified to work as expected.

The unexpected behavior is caused by the delay in the repeat command block with /execute...run testfor…. The delay is set to 20. After the repeat command block, 4 of the chain command blocks have delay of 10. Therefore, when the final chain command block teleports the player, the repeat command block has already detected the waiting player 2 extra times and started 2 extra activation sequences in the chained command blocks. That causes the player to be teleported instantly the next 2 times that the chunk is loaded. (Note that command block activation delay is based on checking world time, not ticking the blocks). One way to prevent the unintended teleport is to set the delay in the repeat command block to 41 ticks.

[media]

However, if you want to detect that the player stands on the green line continuously for 20 ticks before you trigger the chain command blocks, then that will require a different setup.

I am resolving this report as Invalid because the issue is caused by the setting of the command blocks and not by a bug in the function of the commands or the command blocks. If you need further help with the command setup you should ask in a Minecraft community such as the Minecraft Discord server.

Jens Heidenreich

(Unassigned)

Unconfirmed

Android

Android 15

1.21.81 Hotfix

Retrieved