public abstract class BehaviorProjectileDispense extends BehaviorDefaultDispenseItem
DEFAULT_BEHAVIOR
Constructor and Description |
---|
BehaviorProjectileDispense() |
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
public ItemStack dispenseStack(IBlockSource source, ItemStack stack)
dispenseStack
in class BehaviorDefaultDispenseItem
protected void playDispenseSound(IBlockSource source)
playDispenseSound
in class BehaviorDefaultDispenseItem
protected abstract IProjectile getProjectileEntity(World worldIn, IPosition position, ItemStack stackIn)
protected float getProjectileInaccuracy()
protected float getProjectileVelocity()