1. Wiki
  2. /命令
  3. //testforblock

/testforblock

把命令作为函数放进你的附加包:GodCraft 会帮你编写并打包。Get GodCraft

/testforblock: 检查某个位置是否是指定的方块。

语法

<尖括号> 内为必填,[方括号] 内为可选。

/testforblock <position: position> <tileName: block> [blockStates: block_state_array]

命令: 命令

We use cookies to improve your experience and analyse site traffic. Learn more