手冊:Entity.getArmorDamage

出自Minecraft基岩版开发Wiki

語法[編輯]

Entity.getArmorDamage(par1Object, par2int);

參數[編輯]

參數一

Object型別 實體

參數二

int型別 實體盔甲欄的格子id

傳回值

int型別 傷害值(耐久度)

效果[編輯]

取得實體盔甲傷害值(耐久度)。

Template:ModPE