aidencuneo

Minecraft Minelang Code

Apr 14th, 2021 (edited)
856
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Run with /minelang pastebin <paste-id>
  2. // This code is intended for interpretation using Aiden Blishen Cuneo's Minelang Interpreter for Minecraft.
  3. // Contact aidencuneo@gmail.com for more information.
  4.  
  5. mov 77 30
  6. mov 1 133
  7. mov 2 72
  8. mov 3 69
  9.  
  10. '''setblock
  11. str 0 652
  12. mov 100 0 1
  13.  
  14. ''' cobblestone
  15. str 0 652
  16. mov 101 0 1
  17.  
  18. '''
  19. str 0 652
  20. mov 102 0 1
  21.  
  22. label 0
  23.  
  24. call 98
  25. sub 77 1
  26. jne 0
  27. syscall 0
  28.  
  29.  
  30. label 98 // Function that runs the setblock command
  31.  
  32. mov 4 1 1
  33. add 4 77 1
  34.  
  35. '''tostr
  36. ext 652 4 1
  37. mov 16 0 1
  38.  
  39. '''tostr
  40. ext 652 2 1
  41. mov 17 0 1
  42.  
  43. '''tostr
  44. ext 652 3 1
  45. mov 18 0 1
  46.  
  47. memadd 0 100 1
  48. mov 30 0 1
  49. memadd 0 16 1
  50. memadd 0 102 1
  51. memadd 0 17 1
  52. memadd 0 102 1
  53. memadd 0 18 1
  54. memadd 0 101 1
  55. memadd 0 0
  56.  
  57. // Concatenate the strings together
  58. mov 0 7
  59. '''strcat
  60. ext 652 30 1
  61.  
  62. // Run the command
  63. syscall 6 0 1
  64.  
  65. ret
  66.  
RAW Paste Data