public abstract class BehaviorProjectileDispense extends BehaviorDefaultDispenseItem
itemDispenseBehaviorProvider
Constructor and Description |
---|
BehaviorProjectileDispense() |
Modifier and Type | Method and Description |
---|---|
ItemStack |
dispenseStack(IBlockSource par1IBlockSource,
ItemStack par2ItemStack)
Dispense the specified stack, play the dispense sound and spawn particles.
|
protected float |
func_82498_a() |
protected float |
func_82500_b() |
protected abstract IProjectile |
getProjectileEntity(World world,
IPosition iposition)
Return the projectile entity spawned by this dispense behavior.
|
protected void |
playDispenseSound(IBlockSource par1IBlockSource)
Play the dispense sound from the specified block.
|
dispense, doDispense, spawnDispenseParticles
public ItemStack dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
dispenseStack
in class BehaviorDefaultDispenseItem
protected void playDispenseSound(IBlockSource par1IBlockSource)
playDispenseSound
in class BehaviorDefaultDispenseItem
protected abstract IProjectile getProjectileEntity(World world, IPosition iposition)
protected float func_82498_a()
protected float func_82500_b()