手冊:Player.getInventorySlot

出自Minecraft基岩版开发Wiki

語法[編輯]

Player.getInventorySlot(par1int);

參數[編輯]

參數一
int型別 背包的格子id
傳回值
int型別 物品id

效果[編輯]

取得玩家背包的物品id

Template:ModPE