Published Aug 30th, 2023, 8/30/23 9:38 am
- 1,415 views, 3 today
- 0 downloads, 0 today
0
JMC (JavaScript-like Minecraft Function) is a mcfunction extension language for making Minecraft Datapack.
Sometimes, coding datapack in mcfunction has very annoying problems. To create a function, you need to create an entirely new file. There's no way to format your code, and no in-line comment. There are algorithms you need to implement again and again. This is where a preprocessor can help.
Once you start using JMC, it will take your preprocessed JMC file and save it as normal mcfunction files and the rest of the datapack.
Why use JMC?
- Avoid repetitive tasks
- Superior Syntax
- Low learning curve
- Many more features
JMC allows you to write minecraft functions in a better language (.jmc) which is more readable and easier to write.
Documentation
Everything you need to know about JMC can be found at https://jmc.wingedseal.com
Installation
- Executable
In "datapacks" folder of your world file (Usually .minecraft/saves/world_name/datapacks). Create a new datapack folder. And put JMC.exe in that folder then run it.
- Python 3.10+
pip install jmcfunction --pre
FAQ
Is it a virus?
No, why would I post a virus on planetminecraft...
But I still think it's a virus?
https://www.virustotal.com
But my computer says it's a virus?
It's very likely a smartscreen, it's saying the file is not know by Microsoft (Obviously, I'm not going to pay them). But there's a small chance an antivirus gives a false positive result since it's "compiled" from python, and there are viruses that use the same method. If you are paranoid, you can use python version instead of executable.
What is JMC exactly?
It's its own language that come with a compiler, you write in this language, the program turns it into a datapack.
Is it open source?
https://github.com/WingedSeal/jmc
How do I compile it from source?
The instruction is written in the README of github
Does it support my OS?
If you are on Windows or Linux, yes natively. For MacOS, you need to use python version.
Will it be slower than vanilla datapack?
Very likely, no. If you are a beginner it might even optimize your code. And it's low level enough for advanced datapacker to controls 100% of the result datapack.
Is there a discord server?
https://discord.gg/PNWKpwdzD3
What do I do when I find a bug?
Report it on https://github.com/WingedSeal/jmc/issues or just tell me in the discord server.
How is it better than [insert precompiler here]?
I don't know. ¯\_(ツ)_/¯ That's something for you to decide.
Note: My planetminecraft level is too low to post my custom website as a download link. If you have trouble navigating Github, the download is also available in https://jmc.wingedseal.com/download (They also pull from the Github)
Compatibility | Minecraft 1.13 |
to | Minecraft 1.20 |
Tags |
tools/tracking
6054564
119
jmc-javascript-like-minecraft-function
Create an account or sign in to comment.