Minecraft Maps / Redstone Device

Simple Ingame Minecraft Programming Language - SIMPL

  • 2,281 views, 1 today
  • 108 downloads, 0 today
  • 16
  • 4
  • 12
TZF's Avatar TZF
Level 21 : Expert Miner
6
-->Feel free to ask me if you have questions.
Minecraft Programming Language By TZF
This is a simple Programming Language in Minecraft.
It works with blocks instead of words.


!! The high-level language is under development see at the end of this

Now has a compiler so you can write your programs in a text editor and then compile and import them.
-> just look under datapacks\pcData\SIMPLECompiler
-> there are multiple examples(mainly for the simple compiler and not for the new one)
-> compile them by changing the file name in compiler.py(at the end) then executing that python(python 3) script.
-> /reload ingame
-> click load under the left side of the screen(ingame)

-> For multithreading look into the readme or ingame for an explanation


Commands include for example:
Add
Subtract
And
Or
Jump
Jump if zero
push
pop
increment
decrement

Screen Commands:
setPixel
fill
setColor
fillCollumn
fillRow
set Sprite address
draw sprite at
test for block at


IMPORTANT
All Variables are Global
ZERO,ONE,TWO are standard existing variables for calculations(don't permanently save data in them)
No returns in Methods but this shouldn't be a problem because All Variables are global

Save your code into a file with the ending ".hs" and change the file variable at the end of compiler.py and execute it then go into Minecraft and execute /reload then click the load button under the left side of the ingame screen.

Examples for the current commands
arr 5 c
c[1]=20
b = 4
a = 5+(32-b)
if(a==b){b=4}
do{b=b+1}while(c[1]!=b)
def m(ONE){a = ONE}
m(a)
This programm above works if you want to test
CreditTZF
Progress40% complete
Tags

31 Update Logs

Update #31 : by TZF 08/21/2019 11:26:16 amAug 21st, 2019

Added a Converter which allows to convert images to 8x8 sprites automatically. You just need to specify the folder with the images.
The Memory location of the sprites are alphabetically.
Example with Mario included+loaded

Only supports 23 Blocks/Colors at the time. It tries to convert all colors to the block colors.

+ Increased Performance
+ now 1.14.4
LOAD MORE LOGS

Create an account or sign in to comment.

1
11/22/2019 9:49 pm
Level 33 : Artisan Engineer
New Reds Technology
New Reds Technology's Avatar
could you do this without the need for Python Scripts? +1 DIAMOND
(In a case where you are using Redstone ROM instead of blocks)
1
12/11/2018 7:01 am
Level 1 : New Miner
Flamore
Flamore's Avatar
Woah! Finally programming in Minecraft without mods! (+1 Diamond)
1
10/25/2018 12:35 pm
Level 1 : New Explorer
ayyyden
ayyyden's Avatar
Wow! This is really cool, I've never seen anybody do anything like it
1
10/18/2018 4:09 pm
Level 41 : Master Warrior
INS44NE
INS44NE's Avatar
cool
1
05/31/2018 6:42 pm
Level 31 : Artisan Engineer
garlicbreathinator
garlicbreathinator's Avatar
This would be so much easier to program/faster in the snapshot versions, but it looks cool so far!
1
09/19/2018 10:12 am
Level 21 : Expert Miner
TZF
TZF's Avatar
Updated it to 1.13
It is now running 1 Command per tick
But I Still, need to add some things
1
09/20/2018 8:06 pm
Level 31 : Artisan Engineer
garlicbreathinator
garlicbreathinator's Avatar
I made a similar language in my WIP adventure map (check it out on my profile) that was used to control a robot through a level and could run at 1 command/tick until I toned it down to allow players to see what was going on and to let me program other features that take place between the robot's actions (like conveyor belts and switch-powered doors). You could probably utilize the system I used for functions and conditional statements for your project. I'd help you set it up if you'd like.
1
05/31/2018 6:06 pm
Level 19 : Journeyman Architect
Hoxed
Hoxed's Avatar
looks not so simple :^
1
04/17/2018 12:13 am
Level 32 : Artisan Engineer
Coolboy100_
Coolboy100_'s Avatar
So what does it do?
1
04/17/2018 11:34 am
Level 21 : Expert Miner
TZF
TZF's Avatar
You can write Assembly like code with Blocks and then execute it
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome