Major refactoring of net.minecraft.src