What you need to program in Minecraft
Minecraft
Python 3
Java
Minecraft Python API
Minecraft-server
Installing Minecraft
1. Follow the link
https://minecraft.net/en-us/download/.
2. Click the Download button and download the MinecraftInstaller.msi file.
3. Run the file (Run).
4. In the Minecraft Installer window, double-click Next, and then click Install.
5. When the installation is complete, click Finish.
Installing Python
1. Follow the link http://www.python.org/downloads/
2. Click the Download Python button.
3. Download will begin.
4. When the installer loads, click on its icon. If you are wondering if you really want to run this file, click Run.
5. When the Python installer starts, tick the Add Python 3.5 to Path checkbox
6. Then click Install Now.
Install Java
Type cmd in the search bar. Start cmd by clicking on it.
You will see a window with a black background and an invitation to enter a command (on my computer this is the string C: \ Users \ 1
At the prompt, type java -version and press ENTER.
If after that a message appears, as on me, and the number after the first point is 7 or more, then a suitable version of Java is already installed.
In this case, go to "Installing the Minecraft Python API
If you see a message that the java-version command is not recognized or the version after the point is less than 7, install Java by following the steps below.
Go to http://www.java.com/en/download/.
Click Download Java for free. Then click Agree and start the free download.
When the installation program is downloaded, click on its icon. If a dialog box appears asking if you want to allow the program to make changes on this computer, select Yes.
When the installer window appears, click Install.
Wait until the Java installation is complete.
When the installation is complete, click Close.
Install Minecraft Python API and Minecraft - Spigot server
Click the link http://mif.to/minecraft and download the archive for Windows - Minecraft Tools.zip.
When the file is downloaded, right-click on its icon and select Extract All. You will be asked where to put the extracted files. Click the Browse button and navigate to the Documents folder. Click the Make a New Folder button and name the Minecraft Python folder. Select this folder and click OK. Then click Extract to unpack the files.
Go to the Documents folder, and from there to the Minecraft Python folder - you should see the unpacked files there.
Open the Minecraft Tools folder. Double-click the Install_API file. A new window will appear, and the installation of the program interface will begin. If a warning appears, click Run Anyway.
When the installation is complete, press any key.
Running Minecraft Server
In the Minecraft Tools folder, double-click the Start_Server file. If a window appears asking if you want to open this file, click Open.
A window will open and the server will start loading. Wait for it to finish and rewind the text in the window up, to the very beginning. There, in the area of the third or fourth line, there should be a message of the form Starting minecraft server version x. x. x. Instead of "x" there should be specific numbers - for example, this is 1.11.2.
Write down these numbers (the version number of the server). Leave the window open.
Customize the profile of the game in Minecraft
We open the Minecraft launcher by clicking on the game icon twice, but do not press the Play button yet.
In the upper right corner, click on the icon with three horizontal lines. A menu will open. Select Startup Options.
In the "Name" field, enter: Program with Minecraft.
Click on the drop-down list in the "Version" field and select the version number of your server.
Click the Save button. Your profile is set up.