public abstract class ProjectileDispenserBehavior extends ItemDispenserBehavior
NOOP
Constructor and Description |
---|
ProjectileDispenserBehavior() |
Modifier and Type | Method and Description |
---|---|
protected abstract ProjectileEntity |
createProjectile(World world,
Position position,
ItemStack stack) |
ItemStack |
dispenseSilently(BlockPointer pointer,
ItemStack stack) |
protected float |
getForce() |
protected float |
getVariation() |
protected void |
playSound(BlockPointer pointer) |
dispense, spawnItem, spawnParticles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
method_27042, registerDefaults
public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack)
dispenseSilently
in class ItemDispenserBehavior
protected void playSound(BlockPointer pointer)
playSound
in class ItemDispenserBehavior
protected abstract ProjectileEntity createProjectile(World world, Position position, ItemStack stack)
protected float getVariation()
protected float getForce()