YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.dispenser.BehaviorDefaultDispenseItem Class Reference
Inheritance diagram for net.minecraft.dispenser.BehaviorDefaultDispenseItem:
net.minecraft.dispenser.IBehaviorDispenseItem net.minecraft.dispenser.BehaviorProjectileDispense

Public Member Functions

final ItemStack dispense (IBlockSource par1IBlockSource, ItemStack par2ItemStack)
 

Static Public Member Functions

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

Protected Member Functions

ItemStack dispenseStack (IBlockSource par1IBlockSource, ItemStack par2ItemStack)
 
void playDispenseSound (IBlockSource par1IBlockSource)
 
void spawnDispenseParticles (IBlockSource par1IBlockSource, EnumFacing par2EnumFacing)
 

Additional Inherited Members

- Public Attributes inherited from net.minecraft.dispenser.IBehaviorDispenseItem
IBehaviorDispenseItem itemDispenseBehaviorProvider = new BehaviorDispenseItemProvider()
 

Member Function Documentation

final ItemStack net.minecraft.dispenser.BehaviorDefaultDispenseItem.dispense ( IBlockSource  par1IBlockSource,
ItemStack  par2ItemStack 
)

Dispenses the specified ItemStack from a dispenser.

Implements net.minecraft.dispenser.IBehaviorDispenseItem.

ItemStack net.minecraft.dispenser.BehaviorDefaultDispenseItem.dispenseStack ( IBlockSource  par1IBlockSource,
ItemStack  par2ItemStack 
)
protected

Dispense the specified stack, play the dispense sound and spawn particles.

static void net.minecraft.dispenser.BehaviorDefaultDispenseItem.doDispense ( World  par0World,
ItemStack  par1ItemStack,
int  par2,
EnumFacing  par3EnumFacing,
IPosition  par4IPosition 
)
static
void net.minecraft.dispenser.BehaviorDefaultDispenseItem.playDispenseSound ( IBlockSource  par1IBlockSource)
protected

Play the dispense sound from the specified block.

void net.minecraft.dispenser.BehaviorDefaultDispenseItem.spawnDispenseParticles ( IBlockSource  par1IBlockSource,
EnumFacing  par2EnumFacing 
)
protected

Order clients to display dispense particles from the specified block and facing.


The documentation for this class was generated from the following file: