Skip to main content

Minecraft Script

Minecraft script is primarily a tool to make Minecraft Datapack creation easier.

Minecraft Script is an interpreted programming language which goes through the Python interpreter for output.

However, interpretation is not its main feature, and is rather more of a debugging tool, as its sole

purpose is to allow you to validate your code before building it into a full datapack.

Be sure to check out the documentation and the provided examples!

Installation

MCS can be installed using Python's pip module.

pip install minecraft-script

or

python -m pip install minecraft-script

_Note: The package's name in pip is written with a hyphen -,

whilst the actual Python package is written with an underscore _._

Using Minecraft Script to make Datapacks

Debugging your program

To debug your program, you can first run your file like any other programming language.

To do this, use the following command:

python -m minecraft_script debug <path>

where

Building your datapack

To actually build your minecraft datapack, which you can then simply drag & drop into your

minecraft worlds, use the following command:

python -m minecraft_script compile <path>

where

More info

For a list of all shell commands, you can use the following command:

python -m minecraft_script help

If you want to simplify the usage of shell commands, you can check out the installations page in the documentation.

GitHub

Link to GitHub Repository

Source code, documentation, and examples, can all be found on the GitHub.

Compatibility

This python package does not work on Linux / macOS.

Metadata

Release files for minecraft-script 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minecraft-script 0.2.2
File Size Uploaded
minecraft_script-0.2.2.tar.gz 33.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for minecraft-script 0.2.2
File Interpreter ABI Platform
minecraft_script-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 76.1 kB

Release files / minecraft_script-0.2.2.tar.gz

Download URL minecraft_script-0.2.2.tar.gz
Size 33.0 kB
Tags Source
SHA-256 checksum
How to use checksums
612d097b6a2f7dd6997425e95a5a04f5f66fb7a5e9b2b2f6229f971c4770550e
BLAKE2b-256 checksum
How to use checksums
510db979225bf87d0c10eac27b2b2916fb8e154ab46a937ff7a98f4124ab6939
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / minecraft_script-0.2.2-py3-none-any.whl

Download URL minecraft_script-0.2.2-py3-none-any.whl
Size 43.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44fd2fdbc3383648b7bf20c9635b277ef407aa8ff1762cacb4c9c320410257c7
BLAKE2b-256 checksum
How to use checksums
b18136c4fa69b99ace29bf11a2e18097937cdd263d5697deb572f34110e8a5d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.31

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page