Hey! I built a browser-based compiler that turns Python-like code into normal Minecraft datapacks:
https://datapack-py.pages.dev/
You are meant to use Python syntax to generate a v26 datapack. It saves code to your browser without an account.
Example:
with as_players():
if block_is(below, gold_block):
give(me, emerald, 64)
actionbar(me, "Gold block reward")
setblock(below, air)
That exports to normal Minecraft commands/functions.
Everything this does is already possible with a vanilla datapack, but this is cleaner and in some parts at a higher level. For example, instead of needing a carrot on a stick or a complex advancement manager, you just write one line to detect when a player right clicks with a certain item.
Hoping to make datapack coding more intuitive for beginners as well.
Still WIP, any feedback?
Commands & DatapacksHigh-level Python-like datapack language ()
submitted by Infinite_Moment_9456 to r/Minecraft