PyCraft Mod

What is PyCraft Mod

PyCraft Mod for Minecraft 1.12, 1.11.2, 1.11, 1.10.2, 1.9.4, 1.8.9, 1.7.10 –

Want to write Python code in Minecraft? Good news! Now you can with PyCraft Mod. The mod allows you to execute python code in game console. Just put files from archive to ‘mods’ folder.

There is initial script in folder ‘mods/pycraft/’ which named ‘’. In initial file you can import your modules or write code to execute your files (execfile).
The mod have three console commands:
1. ‘/pycraft reinit’ to reload initial file
2. ‘/pycraft load’ to load your script from ‘’ (like execfile(‘’))
3. “/ print(‘HelloWorld’)” (slash with one space) where “print(‘HelloWorld’)” is your code

When player receives chat notification, the mod calls ‘onChatReceive(message)’ with message from chat.
onWorldLoad() no comments
When you write ‘/ print 1+3’ where ‘print 1+3’ is your code, mod calls ‘parseConsole’ with one argument(your ‘print 1+3’), and there you can change processing behavior if you redefine ‘parseConsole’

You can call methods from mod with ‘pyt’.
Methods in ‘jh’:
sendChat(“message”) to send any text to chat. Example “/ pyt.sendChat(“/setblock 1 1 1 stonebrick”)”
getXreal() returns real X coordiante of player
getYreal() -//-
getZreal() -//-
getX() returns rounded X coordiante of player
getY() -//-
getZ() -//-

getViewX() returns player’s view endpoint X coordiante
getViewY() -//-
getViewZ() -//-

watchTo(x, z) sets player’s view to point
watchTo(x, y, z) sets player’s view to point

getPitch() returns player’s view pitch
getYaw() returns player’s view yaw

pressKey(int code, boolean pressed) sets key state. Example: jump key “/ pyt.pressKey(57,True)”

getBlockName(double x, double y, double z)
getBlockId(double x, double y, double z)
getBlockIdFromName(String name)

PyCraft Mod Review:


PyCraft Mod installing instruction:

  • Download and install Minecraft Forge
  • Download the mod.
  • Head to %appdata%.
  • Head to .minecraft/mods folder.
  • Drag and put the downloaded jar (zip) file into it.
  • If it does not exist, you can create one.
  • Finish

Credit: kapiteon

Warning: file_get_contents(): Peer certificate CN=`' did not match expected CN=`' in /home/ on line 22

Warning: file_get_contents(): Failed to enable crypto in /home/ on line 22

Warning: file_get_contents( failed to open stream: operation failed in /home/ on line 22
Dear youtuber!
Have you a channel youtube about minecraft?
Do you want to bring your Video to quality visitors?
Do you want your video to appear on our website?
Do you want to become partner with us?
Just 3 steps to become our partner:
Step 1: Make video review for mod, which you like
Step 2: Upload this video to youtube and our link to your video description
Step 3: Send the youtube video link via message to or leave a comment in the post. We will add your video in the our post, it will help you have more view.
JOIN to get more youtube view with us!!!!

You may also like...