| 限定符和类型 | 字段和说明 |
|---|---|
static InventoryRule |
COMMON |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getInventoryStackLimit() |
boolean |
isItemValid(net.minecraft.item.ItemStack stack) |
boolean |
isUsebleByPlayer(net.minecraft.entity.player.EntityPlayer player) |
static final InventoryRule COMMON
boolean isUsebleByPlayer(net.minecraft.entity.player.EntityPlayer player)
player - the player.boolean isItemValid(net.minecraft.item.ItemStack stack)
stack - the new item stack.int getInventoryStackLimit()