获得命令方块指令:/give @s minecraft:command_block 检测指令:testfor @p 【x,y,z,r=1】 传送指令:tp @p 坐标 关闭命令方块提示指令:/gamerule commandBlockOutput false 关闭传送提示指令:/