Data Packs Technology

Piet Programming Language interpreter

  • 1,385 views • 1 today
  • 26 downloads • 0 today
Compatibility
Minecraft 1.18
to
Minecraft 1.19
Changes include
  • Functions
  • Structures
Added CreditDavid Morgan-Mar aka dangermouse, creator of … info
  • 6
  • 3
  • 1
Required Resource Pack
2017Knight2017
Level 11 : Journeyman Miner
2
NB: You should read the official Piet docs before using this datapack! The differences of the datapack from the original programming language are:
  • in(char) and in(int) aren't realised because I have no idea how this can be implemented.
  • switch command isn't realised due to absence of the Codel Chooser.


To start building your program, you should obtain color blocks with these triggers:
Title of Expandable Spoiler
• /trigger get_light_red
• /trigger get_red
• /trigger get_dark_red
• /trigger get_light_yellow
• /trigger get_yellow
• /trigger get_dark_yellow
• /trigger get_light_green
• /trigger get_green
• /trigger get_dark_green
• /trigger get_light_cyan
• /trigger get_cyan
• /trigger get_dark_cyan
• /trigger get_light_blue
• /trigger get_blue
• /trigger get_dark_blue
• /trigger get_light_magenta
• /trigger get_magenta
• /trigger get_dark_magenta
• /trigger get_black
• /trigger get_white

After that, you have to run "/reload" command because the datapack doesn't send a message whilst loading the world. If you've done everything correct, you'll see this message:
Piet Programming Language interpreter Minecraft Data Pack

Next, you need to place an armorstand at the start of your program and click [​Run the program]. To make a next step, you should click [​Next Step]. To reset the stack, click [​Reset the Stack]. That's all.

1 Update Logs

Update #1 : by 2017Knight2017 10/21/2022 5:27:55 amOctober 21, 2022 @ 9:27 am UTC

"Hello world!" structure (third picture) has been implemented into the datapack. To load it, you have to run "/trigger build_hello_world". It'll be built assuming you are on northwest corner of the structure.

  Have something to say?

Kefaku
10/22/2022 5:36 pm
Level 45 : Master Nerd
awesome :D
1

Welcome