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

Entity Dies Global Trigger not working #533

Open
3 tasks done
Stilt1234 opened this issue Apr 25, 2024 · 6 comments
Open
3 tasks done

Entity Dies Global Trigger not working #533

Stilt1234 opened this issue Apr 25, 2024 · 6 comments
Labels
bug Something isn't working more info needed This issue or pull request needs more information

Comments

@Stilt1234
Copy link

Stilt1234 commented Apr 25, 2024

Issue tracker rule checks (please read carefully)

Issue description

I recently upgraded my mods version from 1.19.2 to 1.20.1 and while I was fixing bugs I noticed that whenever I used the Global Trigger Entity Dies, MCreator used to show a red line in the bottom of the Generate code viewer window.

image

And after that whenever I regenerated my mod, It used to return an error and I was stuck in a loop of regenerating the code. I followed all the steps online of clearing gradle caches but nothing seems to work.

I even looked into the source files and saw that I had the flt file for the entity_dies global trigger, but somehow mcreator is not detecting it. I didnt know if its a problem with my computer or with the plugin so I even reinstalled mcreator and the plugin, but even after that I was not able to do it.
The error is only occuring with enity_dies global trigger btw.
Thank you in advance for helping me

How to reproduce this issue?

Step 1: Create a new procedure with the fabric generator 1.20.1
Step 2: Try to use entity_dies global trigger and see if there are any build errors

Operating system

Windows

Details

MCreator Version : 2023.4
Generator Version : Fabric Generator 1.20.1_2

Example workspace

No response

Logs

No response

@Stilt1234 Stilt1234 added the bug Something isn't working label Apr 25, 2024
@Goldorion
Copy link
Owner

What is the error you get?

@Goldorion Goldorion added the more info needed This issue or pull request needs more information label Apr 25, 2024
@Stilt1234
Copy link
Author

Stilt1234 commented Apr 25, 2024

image
This is the first error I get

Here is the Console Log
image

I did some testing and I found out that since according to mcreator entity_dies is not a global trigger they can find in the generator, it does not save the procedure's class file in the procedures folder due to which the above console log error occurs.

What is the error you get?

@Stilt1234
Copy link
Author

Is there anything I can do @Goldorion?

@DeepRsnanceX
Copy link

Same here, i was trying to make a totem item and i get this exact same error simply by making a global procedure for Entity Dies, no matter what's in the procedure, as long as the trigger is Entity Dies it'll fail :/

@JustHateMeEeeeeZXC
Copy link

It gives an error with any global event
изображение_2024-11-07_234337147
изображение_2024-11-07_234407973

@JustHateMeEeeeeZXC
Copy link

@Goldorion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working more info needed This issue or pull request needs more information
Projects
None yet
Development

No branches or pull requests

4 participants