Here is a very useful modification, after installing which you will have a real spring for a bunch of boats, trolleys or even mobs if desired (as you already understand, one of the objects will pull the other).
How to install Entity Spring Mod
- Download and install Minecraft Forge
- Download mod
- Do not unzip it, copy to C:\Users\User_Name\AppData\ Roaming\.minecraft\mods