Minecraft wiki entry for Train_station, associated text: Using hoppers, all the tickets (or other fees) thrown into the ticket machine could be pushed with a piston into a hopper on top of a chest, giving the owner the tickets back (or extra money, even)!