手冊:Block.setDestroyTime

出自Minecraft基岩版开发Wiki

語法[編輯]

Block.setDestroyTime(par1int, par2double);

參數[編輯]

參數一

int型別 方塊id

參數二

int型別 破壞需要的時間(單位:tick)

效果[編輯]

設定破壞方塊的時間

Template:ModPE