minity
minity copied to clipboard
Minity is a scripting language for Vanilla Minecraft
Commands used: `minity watch --target "C:\Users\` `(username)` `\Desktop\MultiMC\instances\1.17.1\.minecraft\saves\my_map\datapacks\my_datapack"` `minity build --target "C:\Users\` `(username)` `\Desktop\MultiMC\instances\1.17.1\.minecraft\saves\my_map\datapacks\my_datapack"` Tried with and without quotes, it still builds in the directory's project folder. Also tried this...
### Example ``` $mx = @s::Motion[0] ``` does ``` execute store result score --minecarts_nowadays-mx --minecarts_nowadays--vars run data get entity @s Motion[0] 1 ``` so floating point information is lost,..
For example, `nearest 1 @e` and `@e[limit=1]` doesn't work for something like NBT manipulation.
Cannot use `minity links` command if Minecraft is installed in non-custom path, like via MultiMC launcher. ``` PS C:\Users\PsychoX\Desktop\minecarts-nowadays> minity links Error: ENOENT: no such file or directory, scandir 'C:\Users\PsychoX\AppData\Roaming\.minecraft\saves'...
For code organization, it would be nice to put labeled constants at the top of a file. I can't seem to find a way to set a constant time interval...
This is required for the AttributeModifiers field of items. Current workaround for items is to put the entire `give` command into a manual `/give`. For nested JSON strings, you will...
One liner instead of 2 comparisons would be life saver. https://minecraft.fandom.com/wiki/Commands/execute#.28if.7Cunless.29_score
Feature request: Make compilator output comments with file/line corresponding to generated command to the `mcfunction` files (as optional switch, like `--debug`) for improved debugging experience - as not everything works...
It's just obvious fact. Example that does not work: ``` var $a = 1 var $b = 2 if $a > 0 or b > 0 { //... ```
This does not work ``` ?motion_threshold = 1 ?motion_threshold_negative = -?motion_threshold ?motion_threshold_negative = -{?motion_threshold} // nor this ```