手冊:Level.getChestSlotCount

出自Minecraft基岩版开发Wiki

語法[編輯]

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

參數[編輯]

參數一
int型別 儲物箱的X座標
參數二
int型別 儲物箱的Y座標
參數三
int型別 儲物箱的Z座標
參數四
int型別 儲物箱的格子id
傳回值
int型別 物品的數量

效果[編輯]

取得儲物箱裡物品的數量

Template:ModPE