Using the ScriptAPI, attempting to use the place feature command via runCommand will not succeed.
Steps to reproduce:
Download the add-on attached
Launch Preview 1.21.60.24
Create a new flat world
Enable the Beta APIs and Upcoming Creator Feature toggle
You may need to type /reload
Expected Behaviour:
An oak tree will be placed at 16 -60 16.
Actual Behaviour:
An oak tree is not placed at 16 -60 16. Rather a stone and dirt block is placed there instead. This shows that the ScriptAPI can run commands but specifically the place feature command does not. You can verify that if you destroy the blocks and ran `/place feature minecraft:oak_tree_feature 16 -60 16` yourself, it will place the oak tree.
Attachments
Comments 2
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Confirmed in Android
[media]