我在普通命令方块中输入/execute at @a if block -7 -60 0 lever [“open_bit”=true] run give @s diamond_block 1 这个指令,无语法错误,我在-7 -60 0位置放置激活状态的拉杆,用红石激活该命令方块没给我钻石块,却显示execute subcommand if block test false ,按照Minecraft wiki中介绍这个指令是在-7 -60 0 位置的拉杆如果处于开启状态就给玩家一个钻石块,我明明满足条件却显示要检测出不符才给,而我将指令换成/execute at @a if block -7 -60 0 lever [“open_bit”=false] run give @s diamond_block 1,拉杆位置和激活状态上同,激活命令方块却依然显示execute subcommand if block test false ,我于是把指令换成/execute at @a unless block -7 -60 0 lever [“open_bit”=true] run give @s diamond_block 1 该指令意为如果拉杆不处于开启状态就给玩家一个钻石块,也就是/execute at @a if block -7 -60 0 lever [“open_bit”=false] run give @s diamond_block 1,我用前面这个指令拉杆不管是开启或关闭,激活命令方块都会给我钻石块,而后者符合条件却不给我钻石块,显示execute subcommand if block test false ,这个bug希望尽快修复
Linked issues
duplicates 1
Attachments
Comments 2
We are only able to accept bug reports in English since it is the common language used on this tracker.
You are welcome to create a new report about your issue in English. You can use an online translator, if it helps.
However, please search before creating a new report to see if the issue has already been reported. See the Bug Tracker Guidelines for tips on searching for issues.
If you find an existing report about your issue, you can add a vote and any new information to it instead of reporting it yourself.
If you have any issues with your account, please contact Mojang Support or Microsoft Support.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Thank you for helping us improve Minecraft! We saved your files: