mcscript
mcscript copied to clipboard
A programming language for Minecraft Vanilla
When I use mcscript watch in the terminal, after defining a variable, it tells me that the variable has already been defined, when it’s the only line of code. However,...
Typo
I want to declare a bool (tag) as this `bool ` so I can use it like `if ( )` but currently I need to assignt the bool to define...
if i try to run a modal inside an if statement, like this: ``` if ("condition") { newModal() } ``` it outputs ``` execute if condition run newModal() ``` instead...
Hi! I discovered a bug: When writing an if/else statement that uses a boolean variable, the generator does not include the word "entity" inside the "unless" execute statement that was...
Any scripts that have a byte order mark accidentally added will not compile, with the following error message being produced: ``` [Error] Can't handle character: "" (0:0) in file .//data/mb/scripts/map/countdown.mcscript...
The following creates invalid output: ```r if ('score X Y matches 1') { # Comment say hi } ``` The output is: ```mcfunction execute if score X Y matches 1...
Using `#file:` with content above it creates erroneous files that are placed in the root data pack directory. Example: ```r #Header# #file: ./x /say hi #file: ./y /say hello ```...
In basic vanilla functions, random numbers are annoying to generate. This would be a very useful tool in making the process simpler.
Minecraft has support for a built in function called schedule that combined with code blocks could create very basic asynchronous code. Supporting the schedule command as a language feature rather...