Topic category: Help with MCreator software
first, i'm very new to this so my knowledge is almost 0. I thought making a sword that applies potion effects on hit, like poison, would be a fun first task but no matter what i do, it refuses to work. I added a procedure to the weapon trigger "When living entitiy is hit with tool", and simply added the "Add potion POISON with level 1 for 60 ticks to Event/target entity", but when I save it it just tells me that something in that procedure is wrong. I looked up tutorials, I've read in the forum, but everybody seemed to do it just like me, with the same block. The error i get is "Your workspace cointains mod elements that dont compile properly". I should also mention that i use MCreator 2022.3 to make a 1.18.2 mod. If anyone knows what the issue is, please help me, i am actually clueless
The error "Your workspace contains mod elements that don't compile properly" is a very common error that people get, I have this problem all the time with loading, the gradle caches get corrupted a lot.
In this case, you can probably just rebuild gradle caches.
Have you actually tested it in the game?
If you haven't, try to and if it doesn't work, see the second most common solution at https://mcreator.net/wiki/gradle-setup-errors.
otherwise, you can ignore it until you make several other types of elements and still have the problem.
Hope I helped! -PixelKid