PyCraft (Python)
A mod for Forge 1.12.2 that implements Python (Jython) 2.7 directly in Minecraft!

How to Use
Using the mod is very simple:
- Open the game console
- Enter the command "/ your_code", where 'your_code' is arbitrary Python code
- Press Enter to execute
Examples: "/ print('Hello, world!')" "/ import sys"
Working with Scripts
PyCraft automatically creates the "mods/scripts" folder and the "mods/scripts/pycraft.py" file with basic API. Important to remember: the "pycraft.py" file is rewritten every time you restart the game or execute the "/pycraft reset" command.
To store your permanent scripts, create an "init.py" file - it will be automatically loaded and executed at startup through the main "pycraft.py" file.
Key Codes Reference
For key codes information use: http://minecraft.gamepedia.com/index.php?title=Key_Codes/Keyboard1&action=render
Binding Commands to Keys
To bind Python commands to hotkeys, it's recommended to use the KeyBinder mod.