public abstract class BehaviorProjectileDispense extends BehaviorDefaultDispenseItem
itemDispenseBehaviorProvider| Constructor and Description |
|---|
BehaviorProjectileDispense() |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
dispenseStack(IBlockSource source,
ItemStack stack)
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 worldIn,
IPosition position)
Return the projectile entity spawned by this dispense behavior.
|
protected void |
playDispenseSound(IBlockSource source)
Play the dispense sound from the specified block.
|
dispense, doDispense, spawnDispenseParticlespublic ItemStack dispenseStack(IBlockSource source, ItemStack stack)
dispenseStack in class BehaviorDefaultDispenseItemprotected void playDispenseSound(IBlockSource source)
playDispenseSound in class BehaviorDefaultDispenseItemprotected abstract IProjectile getProjectileEntity(World worldIn, IPosition position)
protected float func_82498_a()
protected float func_82500_b()