Skip to main content

A new way to create Minecraft datapacks

Reason this release was yanked:

This release is not working properly

Project description

Minecraft-Datapacks-Generator

Description:

A new way of coding Minecraft. Minecraft is a game that you can play on your computer. It is a popular game for people who are interested in building their own worlds. And since a way to code the game itself has been implemented, I tried it. But it was not simple. So I decided to make a generator for the Minecraft Datapacks, so people can make their own Datapacks easily, even though they still need to know Python until I can make it look like Scratch or something this easy.

Installation:

  • First of all make sure you have one of the latest Python version installed on your computer.
  • Ensure you also have pip installed: try running the command "pip3 -V" in a terminal.
  • If this gets you an error message follow these steps to install it.
  • Once you have Python and pip installed, run the command: "pip3 install mcwpy".

Usage:

Now you should be able to import the library in your new Python programs you can use the project below to help you get started with the library:

from mcwpy import *
  • Create and compile your own datapack.
  • Once the datapack is generated, paste it in the datapacks folder of your Minecraft world.
  • Type /reload to load the datapack.
  • Have fun playing with your brand new handmade datapack!

Example:

from mcwpy import *

# Since this is still in development, this should only print "Hello from the MCWPy community :)".

Contributing:

If you want to contribute to this project, you can do so by forking it and sending a pull request, I am opened to any idea and contribution.

Credits:

Thanks to @theskyblockman for the idea of using workspaces.

0.0.8 (2021/07/30)

  • Test to fix library import issues.

0.0.7 (2021/07/30)

  • Added requests==2.26.0 to REQUIREMENTS.txt.
  • Added tests.py in which unit tests are and will be written.
  • Added workspace.py to create the class Workspace which handles the Datapack workspaces.
  • Improved the README.md.
  • Improved the Datapack's workspaces default attribute.
  • Removed test.py.
  • Wrote several tests for the Datapack class (datapack.py).

0.0.6 (2021/07/29)

  • Fixed version 0.0.5 by using relative imports.
  • Printing the library version when imported.

0.0.5 (2021/07/29)

  • Fixed version 0.0.4 by removing inputs in setup.py.
  • Updated verify_setup.py to check if the display format is correct.

0.0.4 (2021/07/29)

  • Added ANSI escape sequences to the output for prettier messages (ansi_escape_sequences.py).
  • Added an automatic version code for Datapacks with unspecified versions.
  • Added verify_setup.py to check if the package can be created.
  • Changed warnings to be easier to read.
  • Version 0.0.3 did not work so MCWPy will be developed without subfolders.

0.0.3 (2021/07/29)

  • Attempt to use subfolders...
  • If creating a Datapack using the MCWPy library works then it is a success.

0.0.2 (2021/07/28)

  • Made the library check it is running on Python 3.9.5 or above.

0.0.1 (2021/07/28)

  • Fixed (or tried to) CHANGELOG.md, LICENSE and README.md looks on pypi.org.

Initial (2021/07/28)

  • Created a setup.py file to setup the library.
  • Created two functions to add or substract numbers together.
  • Created mcwpy\__init__.py.
  • Created REQUIREMENTS.txt.
  • Used python3 setup.py sdist in a terminal to create the library's first package.
  • Used twine upload --repository-url https://upload.pypi.org/legacy/ dist/* to upload the library's first package on pypi.
  • Wrote LICENSE.
  • Wrote MANIFEST.md.
  • Wrote README.md.

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

mcwpy-0.0.8.tar.gz (10.2 kB view details)

Uploaded Source

File details

Details for the file mcwpy-0.0.8.tar.gz.

File metadata

  • Download URL: mcwpy-0.0.8.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for mcwpy-0.0.8.tar.gz
Algorithm Hash digest
SHA256 269d2e8c0e1ab768dd3da5c37595d70dd1cc88944ed041be582447045055af99
MD5 8759fa19d3dcbd9547f82d76a3a71e85
BLAKE2b-256 d1b4630061164108337a40e83fe1f2642146c3a46d318ddb78cfcdebc0d190a2

See more details on using hashes here.

Supported by

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