Skip to content

UseDevLess/Datapyck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A small package for creating simple Minecraft datapacks for 1.17+.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages