Jumpscare warning - I did this in third year College 😬
Proxy built in Java. Instructions are for Mac and Windows. Dunno about Linux, soz
Click 'Details' beside your wifi connection settings, and then 'Proxies' on the left.
Mac divides HTTP and HTTPS into two proxies. You can configure each separately. Set server name to 'localhost' and port number to '4000'.
Run the mc.java class first, and then the wp.java file. The other way around doesn't work because wp asks mc for a Socket connection after a small delay after running. And then read the instructions in the mc.java terminal and have fun!
Enter 'Proxy' into the search bar. Scroll down to Manual Web Proxy.
Unlike Mac, Windows does not separate HTTP and HTTPS proxies. The setup does not change really but I wanted to explain that. Set the server name to 'localhost' and port number to '4000'.
Run the mc.java class first, and then the wp.java file. The other way around doesn't 100% work because wp asks mc for a Socket connection after a small delay after running. And then read the instructions in the mc.java terminal and have fun!