Skip to content
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

[Bug] MCreator says "can't compile properly" when a script is added to the event "When food eaten" in a food item #166

Closed
Micasddsa opened this issue Oct 26, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@Micasddsa
Copy link

Describe the bug
When compiling a mod when a script is added to the event "When food eaten" in a food item, MCreator Reports that it can't compile properly

Log
https://hastebin.com/ocomucevek.yaml
(Includes Both Build Logs and mcreator.log)

Affected version(s)
Release 2021.2 + Fabric Generator

To Reproduce
Steps to reproduce the behavior:

  1. Make a food item
  2. go to triggers
  3. make a script for the event "When food eaten" (can contain anything)
  4. save & compile
  5. should tell you that it does not compile properly

Expected behavior
Food should save and compile just fine without any errors

Screenshots
https://cdn.discordapp.com/attachments/847896533143388175/902356268436578314/compileerror.png
https://cdn.discordapp.com/attachments/847896533143388175/902356647853297664/scriptadded.png
(Shouldn't really help but i included it because it might help)

@Goldorion
Copy link
Owner

Thank you for the report. A patch should come in the upcoming hours, so I can fix a few more bugs.

@Goldorion Goldorion added the bug Something isn't working label Oct 26, 2021
@Goldorion
Copy link
Owner

Several build errors were still present in the generator, so I released a patch to kill them.

@Micasddsa
Copy link
Author

The problem is still here.

Build Logs and mcreator.log
https://cdn.discordapp.com/attachments/847896533143388175/902716902189707334/ERRORREPORT.txt

I have cleared the Gradle folder, cleaned build files, reload project, and regenerated the code. i still run into this issue.

@Goldorion
Copy link
Owner

The problem is still here.

Build Logs and mcreator.log https://cdn.discordapp.com/attachments/847896533143388175/902716902189707334/ERRORREPORT.txt

I have cleared the Gradle folder, cleaned build files, reload project, and regenerated the code. i still run into this issue.

It's impossible to have the same issue with this trigger. However, other triggers have this issue.

@Micasddsa
Copy link
Author

Micasddsa commented Oct 27, 2021

After investigating the issue and creating a new workspace, it does not say it has any problemes anymore.

but now i have a new issue where foods don't show up AT ALL. no item id, dosen't show up in creative menu, nothing. extracting the jar, it has the files but i don't think it actually generated the data itself so it can be in the game. (idk much about files in a fabric mod but i think this is generally how it goes.)

@Goldorion
Copy link
Owner

After investigating the issue and creating a new workspace, it does not say it has any problemes anymore.

but now i have a new issue where foods don't show up AT ALL. no item id, dosen't show up in creative meun, nothing. extracting the jar, it has the files but i don't think it actually generated the data itself so it can be in the game. (idk much about files in a fabric mod but i think this is generally how it goes.)

If you have another problem, please open another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants