We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mc.setBlock 实际上设置成功或失败否会返回false
// 定义放置箱子的坐标 const pos = new IntPos(10, 64, 10, 0); // 例如在主世界(dimid=0)的坐标(10, 64, 10)
// 放置一个箱子 const success = mc.setBlock(pos, "minecraft:chest"); logger.warn(typeof success); logger.warn(success);
设置成功返回true 失败才返回false
No response
Win10
1.21.3
0.13.5
0.8.19
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
mc.setBlock 实际上设置成功或失败否会返回false
To Reproduce
// 定义放置箱子的坐标
const pos = new IntPos(10, 64, 10, 0); // 例如在主世界(dimid=0)的坐标(10, 64, 10)
// 放置一个箱子
const success = mc.setBlock(pos, "minecraft:chest");
logger.warn(typeof success);
logger.warn(success);
Expected behavior
设置成功返回true 失败才返回false
Screenshots
No response
Platform
Win10
BDS Version
1.21.3
LeviLamina Version
0.13.5
LegacyScriptEngine Version
0.8.19
Additional context
No response
The text was updated successfully, but these errors were encountered: