net.minecraft.dispenser

## Class BehaviorDefaultDispenseItem

- java.lang.Object
- - net.minecraft.dispenser.BehaviorDefaultDispenseItem

- All Implemented Interfaces:
    IBehaviorDispenseItem
  Direct Known Subclasses:
    BehaviorProjectileDispense

      public class BehaviorDefaultDispenseItem
      extends Object
      implements IBehaviorDispenseItem

- - ### Field Summary

    - ### Fields inherited from interface net.minecraft.dispenser.IBehaviorDispenseItem

      `itemDispenseBehaviorProvider`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BehaviorDefaultDispenseItem()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ItemStack` | `dispense(IBlockSource par1IBlockSource, ItemStack par2ItemStack)` Dispenses the specified ItemStack from a dispenser.
    `static void` | `doDispense(World par0World, ItemStack par1ItemStack, int par2, EnumFacing par3EnumFacing, IPosition par4IPosition)`

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

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

- - ### Constructor Detail

    - #### BehaviorDefaultDispenseItem

          public BehaviorDefaultDispenseItem()

  - ### Method Detail

    - #### dispense

          public final ItemStack dispense(IBlockSource par1IBlockSource,
                           ItemStack par2ItemStack)

      Dispenses the specified ItemStack from a dispenser.
      Specified by:
        `dispense` in interface `IBehaviorDispenseItem`

    - #### doDispense

          public static void doDispense(World par0World,
                        ItemStack par1ItemStack,
                        int par2,
                        EnumFacing par3EnumFacing,
                        IPosition par4IPosition)