A small package for creating simple Minecraft datapacks for 1.17+.
Project description
Datapyck
A small package for creating simple Minecraft datapacks for 1.17+.
This package is NOT made for people unexperienced in either Python or Minecraft datapack creation.
Installation
pip install Datapyck
Get started
How to create a simple datapack that welcomes you once the world is reloaded:
from Datapyck import Datapack, Tellraw
# Instantiate a Datapack object
datapack = Datapack(
name="My Datapack",
description="A simple demo to Datapyck.",
version="1.19.3"
)
# Instantiate a Tellraw object
welcome_message = Tellraw(
selector="everyone",
text="Hello there! The datapack has just loaded!",
color="green",
underline=True
)
# Write the Tellraw to the load function
datapack.write("load", welcome_message)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Datapyck-0.1.0.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Datapyck-0.1.0.tar.gz.
File metadata
- Download URL: Datapyck-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6808d6c88da57846d8086b7825088cb540a6d22bcda79132097f2dfcfaaca6e
|
|
| MD5 |
3ddc6137000893d588630b1553603f4a
|
|
| BLAKE2b-256 |
ee2677584c44be61997fa18d3b162204fc2b9b1337b4bef5d22e0e6a0f783e82
|
File details
Details for the file Datapyck-0.1.0-py3-none-any.whl.
File metadata
- Download URL: Datapyck-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b170dedab9debe0819f26ea01df8a26d950c8b3724bdd2391741befcc6ce0522
|
|
| MD5 |
e0805ae74dc0005c55ca5d074ec73696
|
|
| BLAKE2b-256 |
84b75122e38db9115412078ac16ed0076dea2cf532294ce3dc6dcab1417c45c5
|