A lot but dont imagine like 50k lines... Just think about it all mobs are moving the same,there are 3 classes with different coding , pets and some other stuff but overall the graphics ( which are not made with code xP) are the basic part.
(Im not talking about the server ,connection coding
Idk thats my opinion