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

Public Member Functions

ItemStack dispenseStack (IBlockSource par1IBlockSource, ItemStack par2ItemStack)
 
- Public Member Functions inherited from net.minecraft.dispenser.BehaviorDefaultDispenseItem
final ItemStack dispense (IBlockSource par1IBlockSource, ItemStack par2ItemStack)
 

Protected Member Functions

void playDispenseSound (IBlockSource par1IBlockSource)
 
abstract IProjectile getProjectileEntity (World world, IPosition iposition)
 
float func_82498_a ()
 
float func_82500_b ()
 
- Protected Member Functions inherited from net.minecraft.dispenser.BehaviorDefaultDispenseItem
ItemStack dispenseStack (IBlockSource par1IBlockSource, ItemStack par2ItemStack)
 
void playDispenseSound (IBlockSource par1IBlockSource)
 
void spawnDispenseParticles (IBlockSource par1IBlockSource, EnumFacing par2EnumFacing)
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.dispenser.BehaviorDefaultDispenseItem
static void doDispense (World par0World, ItemStack par1ItemStack, int par2, EnumFacing par3EnumFacing, IPosition par4IPosition)
 
- Public Attributes inherited from net.minecraft.dispenser.IBehaviorDispenseItem
IBehaviorDispenseItem itemDispenseBehaviorProvider = new BehaviorDispenseItemProvider()
 

Member Function Documentation

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

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

float net.minecraft.dispenser.BehaviorProjectileDispense.func_82498_a ( )
protected
float net.minecraft.dispenser.BehaviorProjectileDispense.func_82500_b ( )
protected
abstract IProjectile net.minecraft.dispenser.BehaviorProjectileDispense.getProjectileEntity ( World  world,
IPosition  iposition 
)
protectedpure virtual

Return the projectile entity spawned by this dispense behavior.

void net.minecraft.dispenser.BehaviorProjectileDispense.playDispenseSound ( IBlockSource  par1IBlockSource)
protected

Play the dispense sound from the specified block.


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