Started by
Range
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make an item that when it attacks an entity, will add a poison effect to the target, and add regeneration to the player but whenever I try to save it it says, "Your workspace contains mod elements that don't compile correctly".
This is the build log:
https://pastebin.com/axSdReuU
and this is the code for the procedure:
https://pastebin.com/ws2bJbeQ
Please let me know if there is a fix for this or if I did something wrong, thanks!
Why aren't you using blocks?
to be fair I am, but I (wrongly) assumed the code would be a better thing to show compared to the blocks. What you've shown is almost the same as what I have, but I want mine to happen when someone who hits another entity with the item it goes into effect so I did this:
https://imgur.com/a/OwhD8Wz
but I still get the error from above. Am I using the first block wrong?
huh that's weird try pressing the plaster icon in the top left
right*****
Sorry for the long delay, I stepped out right after sending my earlier message. Clicking what I assume was the plaster button didn't fix it sadly, same error as before... Do you think it has anything to do with me making a fabric mod rather than a forge one?
Maybe ... I haven't tried the fabric generator so I don't know what could be causing this, you should ask on the MCreative discord https://discord.gg/XHNSGzMsXa
Will do o7, thank you for your help!