防TNT爆炸指令是clear[玩家][物品][數值],然後/clear@aTNT,最後/gamerulecommandBlockOutputfalse。紅石脈衝clear指令,命令方塊後面放紅石比較器,紅石比較器後面放/say禁止使用TNT