net.minecraft.inventory

## Class InventoryBasic

- java.lang.Object
- - net.minecraft.inventory.InventoryBasic

- All Implemented Interfaces:
    IInventory
  Direct Known Subclasses:
    AnimalChest, InventoryEnderChest

      public class InventoryBasic
      extends java.lang.Object
      implements IInventory

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InventoryBasic(java.lang.String par1Str, boolean par2, int par3)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `closeInventory()`
    `ItemStack` | `decrStackSize(int par1, int par2)`
    `void` | `func_110132_b(IInvBasic par1IInvBasic)`
    `void` | `func_110133_a(java.lang.String par1Str)`
    `void` | `func_110134_a(IInvBasic par1IInvBasic)`
    `java.lang.String` | `getInventoryName()`
    `int` | `getInventoryStackLimit()`
    `int` | `getSizeInventory()`
    `ItemStack` | `getStackInSlot(int par1)`
    `ItemStack` | `getStackInSlotOnClosing(int par1)`
    `boolean` | `hasCustomInventoryName()`
    `boolean` | `isItemValidForSlot(int par1, ItemStack par2ItemStack)`
    `boolean` | `isUseableByPlayer(EntityPlayer par1EntityPlayer)`
    `void` | `markDirty()`
    `void` | `openInventory()`
    `void` | `setInventorySlotContents(int par1, ItemStack par2ItemStack)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### InventoryBasic

          public InventoryBasic(java.lang.String par1Str,
                        boolean par2,
                        int par3)

  - ### Method Detail

    - #### func_110134_a

          public void func_110134_a(IInvBasic par1IInvBasic)

    - #### func_110132_b

          public void func_110132_b(IInvBasic par1IInvBasic)

    - #### getStackInSlot

          public ItemStack getStackInSlot(int par1)

      Specified by:
        `getStackInSlot` in interface `IInventory`

    - #### decrStackSize

          public ItemStack decrStackSize(int par1,
                                int par2)

      Specified by:
        `decrStackSize` in interface `IInventory`

    - #### getStackInSlotOnClosing

          public ItemStack getStackInSlotOnClosing(int par1)

      Specified by:
        `getStackInSlotOnClosing` in interface `IInventory`

    - #### setInventorySlotContents

          public void setInventorySlotContents(int par1,
                                      ItemStack par2ItemStack)

      Specified by:
        `setInventorySlotContents` in interface `IInventory`

    - #### getSizeInventory

          public int getSizeInventory()

      Specified by:
        `getSizeInventory` in interface `IInventory`

    - #### getInventoryName

          public java.lang.String getInventoryName()

      Specified by:
        `getInventoryName` in interface `IInventory`

    - #### hasCustomInventoryName

          public boolean hasCustomInventoryName()

      Specified by:
        `hasCustomInventoryName` in interface `IInventory`

    - #### func_110133_a

          public void func_110133_a(java.lang.String par1Str)

    - #### getInventoryStackLimit

          public int getInventoryStackLimit()

      Specified by:
        `getInventoryStackLimit` in interface `IInventory`

    - #### markDirty

          public void markDirty()

      Specified by:
        `markDirty` in interface `IInventory`

    - #### isUseableByPlayer

          public boolean isUseableByPlayer(EntityPlayer par1EntityPlayer)

      Specified by:
        `isUseableByPlayer` in interface `IInventory`

    - #### openInventory

          public void openInventory()

      Specified by:
        `openInventory` in interface `IInventory`

    - #### closeInventory

          public void closeInventory()

      Specified by:
        `closeInventory` in interface `IInventory`

    - #### isItemValidForSlot

          public boolean isItemValidForSlot(int par1,
                                   ItemStack par2ItemStack)

      Specified by:
        `isItemValidForSlot` in interface `IInventory`