mojira.dev
MCPE-171147

Error with function and new (modified command "blockStates ["..." : "..."], ["..." = "..."]")

I found an error when I create a function for example:

/execute ... if block double_plant ["double_plant_type" = "grass"] run...

The function does not appear in the chat set, although the spelling is correct according to the version ...

But when I write

/execute ... if block double_plant ["double_plant_type" : "grass"] run...

The function is displayed in the chat set, while the spelling is not correct, but it starts the thread if it exists ...

###

Обнаружил ошибку, когда создаю функцию к примеру:

/execute ... if block double_plant ["double_plant_type" = "grass"] run...

Функция не отображается в наборе чата, хотя по версии правописание верное...

Но, когда пишу 

/execute ... if block double_plant ["double_plant_type" : "grass"] run...

Функция отображается в наборе чата, при этом правописание не верное, но запускает цепочку если она есть...

 

Обнаружил это на версии 1.20.10.21

Attachments

Comments 2

What is the min_engine_version in the manifest file of your behavior pack? It should be 1.20.10 or 1.20.20 for the commands inside functions to use the new syntax.

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryFeature Requests and Suggestions

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Vladimir

(Unassigned)

1063601

Confirmed

Windows

1.20.10.21 Preview

Retrieved