Skip to main content

Minecraft Script Programming language

Project description

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 run [file]

where [file] is a relative or absolute path to your mcs file

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 build [file]

where [file] is a relative or absolute path to your mcs file

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minecraft_script-0.2.0.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

minecraft_script-0.2.0-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file minecraft_script-0.2.0.tar.gz.

File metadata

  • Download URL: minecraft_script-0.2.0.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for minecraft_script-0.2.0.tar.gz
Algorithm Hash digest
SHA256 21f89b681d18ff9e3f8ccc5e71b06a54727a51794a3e32f620305cef99d56a02
MD5 aba0eba41ce9004b78ede995835c2384
BLAKE2b-256 95499cb13aadd02b77e1bc95d709da98029878969bae784804b44f329ed6cde2

See more details on using hashes here.

File details

Details for the file minecraft_script-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for minecraft_script-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8de2d8856f39ec80d845d6c9452c3507c606eac57cc0d72f90b620a60036d1ca
MD5 d1e66acd8fca5548813106e513f8b60b
BLAKE2b-256 027a18343939ba218677f1ee8831057ec9535485ed573887db7786ff8a11ac93

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page