Minecraft / Projects

PCM - Programmable Computer in Minecraft

infoWhat is PMCView3D? Read the Schemagic feature announcement for more info.

  • 2 diamonds
  • 501 views, 4 today
  • 37 downloads, 1 today
  • 0 comments
  • 0 favorites
  • 2
  • 0
  • comment
  • playlist_add
  • share
  • more_horiz
avatar Skyball
Level 37 : Artisan Engineer
22

Welcome to the PCM by Skyball!


The PCM is a programmable computer in Minecraft.
This means, you can run programs on it that you can write yourself with a programming language I created.

Basically, you write programs into a text file and compile it with a java program (included in the world download).
From there, you can load it into the storage of the computer and execute the program.

There are a couple of examples that you can try out without having to program yourself:
Minesweeper; Tic Tac Toe; Fibonacci sequence; Prime number checker; Tileswitch; and many more!

If you have any problems or want to share your programs, visit this site: http://pcms.xobor.de/

What features can you use?
  • 16+ integer variables ('registers')
  • use two 8x8 arrays
  • display one number
  • display one 8x8 image
  • different possibilities to input data while program is running
  • random numbers
  • operations: + - * / %
  • if()
  • loops and jumppoints
  • output messages and numbers in chat, actionbar and title
  • execute minecraft-commands and check if they ran successfully
  • stacks
  • a controller in the chat
There is a tutorial you can read through in-game and a list of all commands in the world folder, so that you can learn how to write programs.
The list of commands can also be found here:
https://docs.google.com/document/d/1OgTi1rL4x3HocrIe98XVPfuhkq7ReehPF9uBWlhkdfg/edit?usp=sharing
It is highly recommended to read through at least the first unit of the tutorial!


Here's a short overview of the most important commands the programming language contains:
  • [REG] = [REG/NUMBER]
  • [REG] = [REG/NUMBER] [+;-;*;/;%] [REG/NUMBER]
  • [REG] = userinput( [NUMBER] , NUMBER )
  • [REG] [REG] = userinput( [NUMBER] , DISPLAY )
  • [REG] = random( [REG/NUMBER] )
  • text [REG/NUMBER] [REG/NUMBER] [chat;actionbar;title]
  • if( [REG/NUMBER] [==;!=;<;>,<=;>=] [REG/NUMBER] ){
  • loop( [NUMBER] ){
  • array goto [REG/NUMBER] [REG/NUMBER]
  • array get [REG]
  • array set [REG/NUMBER]
  • wait [NUMBER]
But as I said, there are way more.


    Progress100% complete
    Tags

    0 replies

    Planet Minecraft

    Browse

    Website

    © 2010 - 2019
    www.planetminecraft.com

    Welcome