-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not full compiling #12
Comments
I'm gust dumb. I exidently wrote 'def else:' instead of 'else:', but please make it show the error properly instead of giving up on compiling |
Hi, about this issue as well as your other issue (and as a general comment to anyone who is also interested in using or contributing to EasyDatapacks): I made EasyDatapacks 4 years ago as a learning experience when I was new to programming. I only spent about 2 months on it before abandoning it completely, primarily because I was such a python noob that I had "coded myself into a hole" by making something that was extremely fragile and not extensible at all, and I didn't have the skill to rewrite it to be better. In particular, as you've discovered, I don't validate that your code is syntactically correct, meaning any syntax error is undefined behaviour, usually taking the form of either the output of the tool being a datapack which itself has syntax errors, or lines of code just being treated as if they weren't there. A lot has changed since I originally wrote this -- although I could probably fix these bugs now if I wanted to, I don't really have the time or interest to do that anymore. I never really intended this to be a serious project that other people actually use, but I'm happy that over the years some people have come back to this and used it to create their datapack projects. I'm not up to date on the current minecraft datapack world, but my memory is that not long after I released this, there was a minecraft update which obsoleted a lot of the edge of using this tool over writing datapacks by hand. It might also be broken on newer versions of minecraft -- I think we were at version 1.13 when I originally created this, and I haven't tested it on any subsequent versions. If anyone reading this wants to work on making this tool better, either by fixing bugs, ensuring it's compatible with newer version of minecraft, adding new features, or taking it in a whole new direction, I welcome you to contribute. Though, my advice is that you might have an easier time rewriting it from scratch. |
I'v got a code:
But it dasn't compile fully. When it compiles, you see that content of tick.mcfunction is:
but, correct content of tick.mcfunction must be:
Also, files jy_serever_block_essencials:tick.e3, jy_serever_block_essencials:tick.e4, ... don't even exist. Output of compilation is just "successfully created datapack 'jy_serever_block_essencials'"
The text was updated successfully, but these errors were encountered: