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
How to write the subscription destruction box and how to do HTTP get
import {Commands, World} from 'mojang-minecraft'; /* 执行指令 /*————*/ const log = function(msg) { Commands.run(`tellraw @a {"rawtext":[{"text":"${msg}"}]}`, World.getDimension('overworld')); } World.events.BlockBreakEvent.subscribe((event) => { /* 订阅玩家破坏方块消息 */ blocks(event); }) function blocks(event) { var blocktype = event.block.id;//方块类型 var playername = event.player.name;//玩家名称 log(`${playername} 破坏 ${blocktype}`); }
The text was updated successfully, but these errors were encountered:
中文可以吗? 首先我不懂subscription destruction box 是什么逼, 然后gt小fw系统没有node support,不能http或fs。
Sorry, something went wrong.
No branches or pull requests
How to write the subscription destruction box and how to do HTTP get
The text was updated successfully, but these errors were encountered: