2013-07-03 07:51:39 +00:00
|
|
|
package biomesoplenty.entities.projectiles;
|
2013-05-07 01:02:25 +00:00
|
|
|
|
|
|
|
import net.minecraft.dispenser.BehaviorProjectileDispense;
|
|
|
|
import net.minecraft.dispenser.IPosition;
|
|
|
|
import net.minecraft.entity.IProjectile;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
|
|
|
|
public class DispenserBehaviorDart extends BehaviorProjectileDispense
|
|
|
|
{
|
2013-05-31 10:34:02 +00:00
|
|
|
@Override
|
2013-05-07 01:02:25 +00:00
|
|
|
protected IProjectile getProjectileEntity(World par1World, IPosition par2IPosition)
|
2013-05-31 10:34:02 +00:00
|
|
|
{
|
|
|
|
return new EntityDart(par1World, par2IPosition.getX(), par2IPosition.getY(), par2IPosition.getZ());
|
|
|
|
}
|
2013-05-07 01:02:25 +00:00
|
|
|
}
|