jmc
jmc copied to clipboard
A compiler for JMC (JavaScript-like Minecraft Function), a mcfunction extension language for making Minecraft Datapack
## Description Minecraft 1.20.3 added the `execute if function` command, which can be quite useful. JMC does support putting such a condition into an `if` statement, but we're limited to...
## Description The following syntax will be used to convert specific paths inside a JSON definition from nested objects to string form. The purpose of this is to have an...
## Description It's both annoying and idiosyncratic to have to write `if (data storage namespace:foo bar)` every single time when it would make more sense to write just `if (foo::bar)`....
## Describe the bug If statements break into new functions inside __private__ folder which breaks both /return and function macros ## To Reproduce Example code that breaks /return: ```javascript $a...
## Describe the bug when trying to call any function using macros in a subdirectory it will throw an error. "expected operator" ## To Reproduce https://jmc.wingedseal.com/try-out?jmc=FAMwrgdgxgLglgewgAjAdzACgJTIN7ACQAXMQIYBOA5gM4B0CaCyAvMgESMLsDcRRAUwAeAqGBgDkFSPiKEAJFzrzM6MNhx9CAX2Ro4MABbJSlWn23BQkWIhRKuOWYQAOFOBBghMnJu2wWQA ## Expected behavior be...
## Describe the bug The compiler will complain that "_bracket for a class was never closed_" if using a comment containing a single quote ## To Reproduce create a dummy...
## Describe the bug Running a command that tries to modify an nbt tag called "item" throws an exception when compiling. ## To Reproduce 1. Write a command that modifies...