public abstract class ProjectileDispenseBehavior extends DefaultDispenseItemBehavior
NOOP
Constructor and Description |
---|
ProjectileDispenseBehavior() |
Modifier and Type | Method and Description |
---|---|
ItemStack |
dispenseStack(IBlockSource source,
ItemStack stack) |
protected abstract IProjectile |
getProjectileEntity(World worldIn,
IPosition position,
ItemStack stackIn) |
protected float |
getProjectileInaccuracy() |
protected float |
getProjectileVelocity() |
protected void |
playDispenseSound(IBlockSource source) |
dispense, doDispense, spawnDispenseParticles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public ItemStack dispenseStack(IBlockSource source, ItemStack stack)
dispenseStack
in class DefaultDispenseItemBehavior
protected void playDispenseSound(IBlockSource source)
playDispenseSound
in class DefaultDispenseItemBehavior
protected abstract IProjectile getProjectileEntity(World worldIn, IPosition position, ItemStack stackIn)
protected float getProjectileInaccuracy()
protected float getProjectileVelocity()