Started by
weezl
on
Topic category: Help with Minecraft modding (Java Edition)
I wanted to set the mob that when you use it on the item was imposed on him weakness, but neither through the procedures of the mob nor through the procedures of the object I do it failed, what could be the problem?
Dont understand quite right, do you want to right click a mob with an item and give them poison? (as the screenshot uses poison)
I want to use this item, the effect is imposed on the mob, in this case for the test so far using poison
Use the global trigger "player rightclicks on entity" and check that your weapon is in your main hand or offhand.
Thanks man, it all worked.
And how do I do it, I try to do it this way, but I get an error, https://i.imgur.com/jRlpjVD.png
https://i.imgur.com/td8WApx.png
I remade the procedure exactly as your screenshot and it worked, I see that you are using an older version of Mcreator.
What version of Mcreator do you use?
Also, does it say in the bottom left "not compatible with generator"?
Right click entity and source entity didnt work in 1.12 is i remember correctly, if it is 1.12 you use.
I'm using the 2022.3 version of mcretor and the minecraft 1.18.2 mod. So I need to upgrade?
As i am using 2023.1 and it worked you can probably update, but your procedure should work in 2022.3 aswell. Can be that you are using 1.18 and some features are not updated there.
Maybe you're right, I'll update