手冊:Level.getChestSlotData

出自Minecraft基岩版开发Wiki

語法[編輯]

Level.getChestSlotData(par1int, par2int, par3int, par4int);

參數[編輯]

參數一
int型別 儲物箱的X座標
參數二
int型別 儲物箱的Y座標
參數三
int型別 儲物箱的Z座標
參數四
int型別 儲物箱的格子id
傳回值
int型別 傷害值(特殊值)

效果[編輯]

取得儲物箱裡物品的傷害值(特殊值)

Template:ModPE