Skip to content

Commit 0378fc6

Browse files
committed
initial commit
1 parent 5df4046 commit 0378fc6

13 files changed

Lines changed: 1553 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
test/testdpfolder/data/testdp
2+
__pycache__
3+
dist

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.formatting.provider": "black"
3+
}

LICENSE

Lines changed: 427 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# PyFunction
2+
3+
PyMCFunction is a tool to write Minecraft datapacks in Python.
4+
5+
## Usage
6+
7+
Check pymcfunction/pyfunction/pmf --help
8+
9+
## Docs
10+
11+
Hopefully coming soon, for now, ask somthing like IntelliSense.
12+
13+
## Command support
14+
15+
These are the currently supported commands. Feel free to create a PR, the goal is to support every command.
16+
17+
- [ ] /advancement
18+
- [ ] /attribute
19+
- [ ] /ban
20+
- [ ] /ban-ip
21+
- [ ] /banlist
22+
- [ ] /bossbar
23+
- [x] /clear
24+
- [ ] /clone
25+
- [ ] /data
26+
- [ ] /datapack
27+
- [ ] /debug
28+
- [x] /defaultgamemode
29+
- [x] /deop
30+
- [ ] /difficultiy
31+
- [ ] /effect
32+
- [ ] /enchant
33+
- [x] /execute
34+
- [ ] /experience (/xp)
35+
- [ ] /fill
36+
- [ ] /forceload
37+
- [x] /function
38+
- [ ] /gamemode
39+
- [ ] /gamerule
40+
- [ ] /give
41+
- [ ] /item
42+
- [ ] /kick
43+
- [ ] /kill
44+
- [ ] /locate
45+
- [ ] /loot
46+
- [ ] /msg (/tell and /w)
47+
- [ ] /op
48+
- [ ] /pardon
49+
- [ ] /pardon-ip
50+
- [ ] /particle
51+
- [ ] /place
52+
- [ ] /playsound
53+
- [ ] /publish
54+
- [ ] /recipe
55+
- [ ] /save-all
56+
- [ ] /save-off
57+
- [ ] /save-on
58+
- [x] /say
59+
- [ ] /schedule
60+
- [x] /scoreboard
61+
- [ ] /seed
62+
- [ ] /setblock
63+
- [ ] /setidletimeout
64+
- [ ] /setworldspawn
65+
- [ ] /spawnpoint
66+
- [ ] /spectate
67+
- [ ] /spreadplayers
68+
- [ ] /stop
69+
- [ ] /stopsound
70+
- [ ] /summon
71+
- [ ] /tag
72+
- [ ] /team
73+
- [ ] /teammsg (/tm)
74+
- [ ] /teleport (/tp)
75+
- [ ] /tellraw
76+
- [ ] /time
77+
- [ ] /title
78+
- [ ] /trigger
79+
- [ ] /weather
80+
- [ ] /whitelist
81+
- [ ] /worldborder
82+
83+
## Feedback
84+
85+
If you have any feedback, feature request, or think you know how a feature could be improved, feel free to open an issue.

poetry.lock

Lines changed: 298 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)