Skip to content

Releases: Stevertus/mcscript

0.2.3

22 Sep 10:09
Compare
Choose a tag to compare

This will be the last update for mcscript fixing the most crucial bugs and simple requests. Thank you so much for all your support, all users of mcscript and the contributers for this update.

  • added: you can now use the keyword trigger after a new variables name to convert the scoreboard to trigger
  • added: The in keyword acts as a alias for dimension now
  • added: A new unless keyword which does the same as the if keyword, but negates the condition
  • added: aside console the Javascript Math object is now also accessible in the modaljs block
  • fixed: if keyword did not recognize variables with a fakeplayername as entity
  • fixed: negative numbers were not allowed
  • fixed: possibility to generate packs with uppercase namespaces
  • fixed crash if parser returned undefined
  • formatting and improved code readability

Thanks KaidenP and viniciuslrangel for fixing annoying bugs, sorry that this release took so long.

0.2.2

10 Feb 13:52
Compare
Choose a tag to compare
  • added: log.var core modal and documentation
  • fixed: watch did not reset variables, modals and booleans on recompile

0.2.1

14 Jan 16:37
Compare
Choose a tag to compare

v0.2.1

  • added: new JavaScript Modal here by cblech.
  • added: Map const type
  • added: Array const type
  • new structured documentation at stevertus.com/mcscript/documentation
  • refactored the code
  • fixed: extend bugs. I am very sorry that this took so long :(
  • fixed: forEach operation

Install the new version with npm i -g mcscript@latest
or use the online editor: https://stevertus.com/mcscript/code

v0.2

11 Jul 15:52
Compare
Choose a tag to compare

This is the first full release version of Minecraft Script! The language has all the necessary features now. I am open for new suggestions nevertheless.

  • added: a brand new error handling system. If you find some nonsense errors please report an issue and I will fix it.
  • added: the function and run function feature. Read more about its capabilities here.
  • added: a few more debugging options with the debug keyword. Read more here.
  • added: a -fullErr flag for compile and watch to see full Errors and files references
  • changed: if an execute command is generated after an execute command they will be combined now.
  • changed: if an error accures in a file you will be notified and the other files generate nevertheless.
  • fixed: an load.mcfunction issue that it generates random stuff sometimes
  • fixed: modal calls inside modals should work again (thaks to coolsa)
  • fixed: the watch mode crashes no longer if an error accures
  • fixed: if a #file tag was added after commands the compiler used to create a file with the name of the first command

v0.1.5

25 May 17:10
Compare
Choose a tag to compare
  • added: multiline comments
  • added: global variables and .gl.mcscript files | Take a look at the documentation.
  • added: save the command response in a variable var test = run: command
  • added: a replace function on constant values and modals.
  • added: override keyword to change old modals
  • fixed: the common asat issue, should run now
  • fixed: while declaring the same variable twice, nothing generates
  • changed: the watch feature. Now it generates all files on change, not only the changed
  • changed the overall variable handling (but outputs are the same)

Related Examples:

v0.1.4.1

04 May 19:18
Compare
Choose a tag to compare
  • added a syntax highlighter to the online editor!
  • source code here

v0.1.4

28 Apr 12:04
Compare
Choose a tag to compare

v0.1.3

27 Apr 16:26
Compare
Choose a tag to compare
  • added: Minecraft Cam datapack modals
  • added: Core Modal documentation
  • changed: the load.mcscript will automaticly generate the mcscript/load file and execute it
  • changed: the corresponding file generator for load.mcscript
  • changed: . are now allowed in variable names
  • changed: the mcscript folder will be automaticly deleted! save important files!!
  • fixed: the forWeb.js file

v0.1.2

13 Apr 14:35
Compare
Choose a tag to compare
  • changed: fixed asat to "at @s"
  • changed: raycasting is more accurate
  • changed raycast performance
  • added a not block operator for Raycasting
  • added raycast entity option
  • added raycast target option

v0.1.1

06 Apr 09:31
Compare
Choose a tag to compare
  • fixed: forEach function was written uppercase, which is not allowed by Minecraft
  • fixed: raycast score didn´t reset and messed up
  • added: now cases can accept a direct value instead of "== [value]"