programming in python in minecraft

1. Download minecraft 1.12.2 and run it.

Baidu minecraft 1.12.2 do not need NetEase version to Mojang version


Download the clean version installation file



Unzip to a directory such as e:\mc1.12.2


After completion is as follows.

Download launcher

https://ci.to2mbn.org/job/HMCL/


Put it in the directory you just unzipped


Install jdk1.8

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html



start up



Congrats, half done.

------------------- Troubled dividing line -------------------------


2. Install forge

https://files.minecraftforge.net/


I downloaded the forge version 14.23.1.2604 of 1.12.2, which has been tested and available, and you can try to download the latest version to run.


Note: After running the launcher, run the forge installation file.



Change the installation directory of forge to point to minecraft.minecraft Don't close the launcher during it! ! !


If it is correct, the forge installation interface will be narrowed, otherwise repeat the above steps.

Select OK > Install.


forge will download the file and install it in a while.



At this point, exit the launcher, and then restart the launcher.


There should be more forge versions in the version drop-down box. If there is no installation error, return to forge and install it again.


There will be an icon in the lower right corner of the forge startup interface, as well as the loading progress of mods. If there is no error, reinstall it.


If you get to this point, you are not far from victory.


Looking at mods there should be 6 default mods. exit the game.

Prepare to install raspberryjammod


3. Install raspberryjammod

https://github.com/arpruss/raspberryjammod

It is recommended to download the entire project locally, but the following three files are mainly useful.



Select the .jar file in the 1.12 directory under mods.zip



Copy to minecraft/.minecraft/mods folder.


Copy mcpipy to the minecraft/.minecraft folder


95% done, ready for the exciting next step. start up! ! !

If there is the mod in the above picture in mods, congratulations, the installation is successful. Let's go into the game to verify it.

Enter the game and change the language to Chinese in the options.


Create new game



choose to create

More world options, super flat.



Press t to call out the command dialog, type /py dna Note the spaces.


At this time, python helped us create a DNA model.

The /py command can run all files in the mcpipy directory.


If you've learned pythonturtle let's start here.


Type /py turtleconsole


Type t.turtle(SHEEP)


Be careful not to / anymore.

Type t.go(10)


For the rest, use your imagination.

For more commands, please open mcpipy/mineturtle.py to view.


Note that this is a three-dimensional turtle that can go up and down. There is one more operation. It is recommended to play with a flat turtle first and then continue.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325579296&siteId=291194637